Browse Source

Merge branch 'fix/asoc' into for-linus

Takashi Iwai 15 years ago
parent
commit
6e0446cb4b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sound/soc/codecs/wm8900.c

+ 1 - 1
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,