diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/Kconfig | 2 | ||||
-rw-r--r-- | sound/soc/codecs/twl4030.c | 16 | ||||
-rw-r--r-- | sound/soc/omap/sdp3430.c | 2 | ||||
-rw-r--r-- | sound/soc/omap/zoom2.c | 2 |
4 files changed, 11 insertions, 11 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 98175a096df2..0002220bbc3b 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -236,7 +236,7 @@ config SND_SOC_TLV320DAC33 | |||
236 | tristate | 236 | tristate |
237 | 237 | ||
238 | config SND_SOC_TWL4030 | 238 | config SND_SOC_TWL4030 |
239 | select TWL4030_CODEC | 239 | select MFD_TWL4030_AUDIO |
240 | tristate | 240 | tristate |
241 | 241 | ||
242 | config SND_SOC_TWL6040 | 242 | config SND_SOC_TWL6040 |
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c index bec788b12613..5e648d33d559 100644 --- a/sound/soc/codecs/twl4030.c +++ b/sound/soc/codecs/twl4030.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <sound/tlv.h> | 36 | #include <sound/tlv.h> |
37 | 37 | ||
38 | /* Register descriptions are here */ | 38 | /* Register descriptions are here */ |
39 | #include <linux/mfd/twl4030-codec.h> | 39 | #include <linux/mfd/twl4030-audio.h> |
40 | 40 | ||
41 | /* Shadow register used by the audio driver */ | 41 | /* Shadow register used by the audio driver */ |
42 | #define TWL4030_REG_SW_SHADOW 0x4A | 42 | #define TWL4030_REG_SW_SHADOW 0x4A |
@@ -251,9 +251,9 @@ static void twl4030_codec_enable(struct snd_soc_codec *codec, int enable) | |||
251 | return; | 251 | return; |
252 | 252 | ||
253 | if (enable) | 253 | if (enable) |
254 | mode = twl4030_codec_enable_resource(TWL4030_CODEC_RES_POWER); | 254 | mode = twl4030_audio_enable_resource(TWL4030_AUDIO_RES_POWER); |
255 | else | 255 | else |
256 | mode = twl4030_codec_disable_resource(TWL4030_CODEC_RES_POWER); | 256 | mode = twl4030_audio_disable_resource(TWL4030_AUDIO_RES_POWER); |
257 | 257 | ||
258 | if (mode >= 0) { | 258 | if (mode >= 0) { |
259 | twl4030_write_reg_cache(codec, TWL4030_REG_CODEC_MODE, mode); | 259 | twl4030_write_reg_cache(codec, TWL4030_REG_CODEC_MODE, mode); |
@@ -375,13 +375,13 @@ static void twl4030_apll_enable(struct snd_soc_codec *codec, int enable) | |||
375 | if (enable) { | 375 | if (enable) { |
376 | twl4030->apll_enabled++; | 376 | twl4030->apll_enabled++; |
377 | if (twl4030->apll_enabled == 1) | 377 | if (twl4030->apll_enabled == 1) |
378 | status = twl4030_codec_enable_resource( | 378 | status = twl4030_audio_enable_resource( |
379 | TWL4030_CODEC_RES_APLL); | 379 | TWL4030_AUDIO_RES_APLL); |
380 | } else { | 380 | } else { |
381 | twl4030->apll_enabled--; | 381 | twl4030->apll_enabled--; |
382 | if (!twl4030->apll_enabled) | 382 | if (!twl4030->apll_enabled) |
383 | status = twl4030_codec_disable_resource( | 383 | status = twl4030_audio_disable_resource( |
384 | TWL4030_CODEC_RES_APLL); | 384 | TWL4030_AUDIO_RES_APLL); |
385 | } | 385 | } |
386 | 386 | ||
387 | if (status >= 0) | 387 | if (status >= 0) |
@@ -2260,7 +2260,7 @@ static int twl4030_soc_probe(struct snd_soc_codec *codec) | |||
2260 | } | 2260 | } |
2261 | snd_soc_codec_set_drvdata(codec, twl4030); | 2261 | snd_soc_codec_set_drvdata(codec, twl4030); |
2262 | /* Set the defaults, and power up the codec */ | 2262 | /* Set the defaults, and power up the codec */ |
2263 | twl4030->sysclk = twl4030_codec_get_mclk() / 1000; | 2263 | twl4030->sysclk = twl4030_audio_get_mclk() / 1000; |
2264 | codec->dapm.idle_bias_off = 1; | 2264 | codec->dapm.idle_bias_off = 1; |
2265 | 2265 | ||
2266 | twl4030_init_chip(codec); | 2266 | twl4030_init_chip(codec); |
diff --git a/sound/soc/omap/sdp3430.c b/sound/soc/omap/sdp3430.c index 3f72d17d1ef0..9f6a758029d1 100644 --- a/sound/soc/omap/sdp3430.c +++ b/sound/soc/omap/sdp3430.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #include <plat/mcbsp.h> | 36 | #include <plat/mcbsp.h> |
37 | 37 | ||
38 | /* Register descriptions for twl4030 codec part */ | 38 | /* Register descriptions for twl4030 codec part */ |
39 | #include <linux/mfd/twl4030-codec.h> | 39 | #include <linux/mfd/twl4030-audio.h> |
40 | 40 | ||
41 | #include "omap-mcbsp.h" | 41 | #include "omap-mcbsp.h" |
42 | #include "omap-pcm.h" | 42 | #include "omap-pcm.h" |
diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c index 01709940a43c..9a2666ffc16c 100644 --- a/sound/soc/omap/zoom2.c +++ b/sound/soc/omap/zoom2.c | |||
@@ -32,7 +32,7 @@ | |||
32 | #include <plat/mcbsp.h> | 32 | #include <plat/mcbsp.h> |
33 | 33 | ||
34 | /* Register descriptions for twl4030 codec part */ | 34 | /* Register descriptions for twl4030 codec part */ |
35 | #include <linux/mfd/twl4030-codec.h> | 35 | #include <linux/mfd/twl4030-audio.h> |
36 | 36 | ||
37 | #include "omap-mcbsp.h" | 37 | #include "omap-mcbsp.h" |
38 | #include "omap-pcm.h" | 38 | #include "omap-pcm.h" |