aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2009-12-15 10:30:34 +0100
committerGravatar Takashi Iwai <tiwai@suse.de> 2009-12-15 10:30:34 +0100
commit6e0446cb4b6e2469a0db58fbe6dffcd63d3d4066 (patch)
tree4f8f8700a5ba95cc033625f6b2964db435254d3d /sound
parentMerge branch 'fixes' of git://git.alsa-project.org/alsa-kernel into for-linus (diff)
parentASoC: Correct code taking the size of a pointer (diff)
downloadlinux-6e0446cb4b6e2469a0db58fbe6dffcd63d3d4066.tar.gz
linux-6e0446cb4b6e2469a0db58fbe6dffcd63d3d4066.tar.bz2
linux-6e0446cb4b6e2469a0db58fbe6dffcd63d3d4066.zip
Merge branch 'fix/asoc' into for-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/wm8900.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8900.c b/sound/soc/codecs/wm8900.c
index c9438dd62df3..dbc368c08263 100644
--- a/sound/soc/codecs/wm8900.c
+++ b/sound/soc/codecs/wm8900.c
@@ -199,7 +199,7 @@ static void wm8900_reset(struct snd_soc_codec *codec)
snd_soc_write(codec, WM8900_REG_RESET, 0);
memcpy(codec->reg_cache, wm8900_reg_defaults,
- sizeof(codec->reg_cache));
+ sizeof(wm8900_reg_defaults));
}
static int wm8900_hp_event(struct snd_soc_dapm_widget *w,