projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: wm9705: Fix build due to removal of 'runtime' definition
[firefly-linux-kernel-4.4.55.git]
/
sound
/
soc
/
codecs
/
wm9705.c
diff --git
a/sound/soc/codecs/wm9705.c
b/sound/soc/codecs/wm9705.c
index 7c095939c179ebc739625ac5ac7b156a1d84ae66..e8e782a0c78d0791b88d509ae5fa33c9e6a77840 100644
(file)
--- a/
sound/soc/codecs/wm9705.c
+++ b/
sound/soc/codecs/wm9705.c
@@
-248,7
+248,7
@@
static int ac97_prepare(struct snd_pcm_substream *substream,
else
reg = AC97_PCM_LR_ADC_RATE;
- return ac97_write(codec, reg, runtime->rate);
+ return ac97_write(codec, reg,
substream->
runtime->rate);
}
#define WM9705_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 | \