summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5640.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-05-08 17:35:48 +0200
committerMark Brown <broonie@kernel.org>2018-05-11 04:22:34 +0200
commit8e3ebf5e8f0a6da53795d940763cc34f5073c4c3 (patch)
tree510d7b9581856d28b171fd0025f7a41ba2ab78fc /sound/soc/codecs/rt5640.h
parentASoC: rt5640: Add devicetree-bindings for dmic, jack-detect (diff)
downloadlinux-8e3ebf5e8f0a6da53795d940763cc34f5073c4c3.tar.xz
linux-8e3ebf5e8f0a6da53795d940763cc34f5073c4c3.zip
ASoC: rt5640: Remove unused rt5640_platform_data
There are no in tree users of platform-data for the rt5640 codec driver, so lets remove support for it. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5640.h')
-rw-r--r--sound/soc/codecs/rt5640.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt5640.h b/sound/soc/codecs/rt5640.h
index c473e8ae2eda..2db6586f5ab4 100644
--- a/sound/soc/codecs/rt5640.h
+++ b/sound/soc/codecs/rt5640.h
@@ -13,7 +13,6 @@
#define _RT5640_H
#include <linux/clk.h>
-#include <sound/rt5640.h>
/* Info */
#define RT5640_RESET 0x00
@@ -2103,10 +2102,10 @@ enum {
struct rt5640_priv {
struct snd_soc_component *component;
- struct rt5640_platform_data pdata;
struct regmap *regmap;
struct clk *mclk;
+ int ldo1_en; /* GPIO for LDO1_EN */
int sysclk;
int sysclk_src;
int lrck[RT5640_AIFS];