Эх сурвалжийг харах

Merge branch 'fix/asoc' into for-linus

Takashi Iwai 16 жил өмнө
parent
commit
6e0446cb4b

+ 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);
 	snd_soc_write(codec, WM8900_REG_RESET, 0);
 
 
 	memcpy(codec->reg_cache, wm8900_reg_defaults,
 	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,
 static int wm8900_hp_event(struct snd_soc_dapm_widget *w,