aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/codecs/wm9713.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 38d1fe0971fc..c10f8a33311e 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -949,17 +949,17 @@ static int wm9713_pcm_hw_params(struct snd_pcm_substream *substream,
949 949
950static void wm9713_voiceshutdown(struct snd_pcm_substream *substream) 950static void wm9713_voiceshutdown(struct snd_pcm_substream *substream)
951{ 951{
952 struct snd_soc_pcm_runtime *rtd = substream->private_data; 952 struct snd_soc_pcm_runtime *rtd = substream->private_data;
953 struct snd_soc_device *socdev = rtd->socdev; 953 struct snd_soc_device *socdev = rtd->socdev;
954 struct snd_soc_codec *codec = socdev->codec; 954 struct snd_soc_codec *codec = socdev->codec;
955 u16 status; 955 u16 status;
956 956
957 /* Gracefully shut down the voice interface. */ 957 /* Gracefully shut down the voice interface. */
958 status = ac97_read(codec, AC97_EXTENDED_STATUS) | 0x1000; 958 status = ac97_read(codec, AC97_EXTENDED_STATUS) | 0x1000;
959 ac97_write(codec, AC97_HANDSET_RATE, 0x0280); 959 ac97_write(codec, AC97_HANDSET_RATE, 0x0280);
960 schedule_timeout_interruptible(msecs_to_jiffies(1)); 960 schedule_timeout_interruptible(msecs_to_jiffies(1));
961 ac97_write(codec, AC97_HANDSET_RATE, 0x0F80); 961 ac97_write(codec, AC97_HANDSET_RATE, 0x0F80);
962 ac97_write(codec, AC97_EXTENDED_MID, status); 962 ac97_write(codec, AC97_EXTENDED_MID, status);
963} 963}
964 964
965static int ac97_hifi_prepare(struct snd_pcm_substream *substream) 965static int ac97_hifi_prepare(struct snd_pcm_substream *substream)