On Mon, Sep 27, 2010 at 00:11, <[email protected]> wrote: > Revision 9173 Author lliubbo Date 2010-09-27 00:11:10 -0400 (Mon, 27 Sep > 2010) > > Log Message > > [#6269] ssm2604: save/restore power state during suspend/resume. > > Modified: trunk/sound/soc/codecs/ssm2604.c (9172 => 9173) > > { > struct snd_soc_device *socdev = platform_get_drvdata(pdev); > struct snd_soc_codec *codec = socdev->card->codec; > + struct ssm2602_priv *ssm2602 = codec->private_data; > > + ssm2602->pwr_state = snd_soc_read(codec, SSM2602_PWR); > ssm2604_set_bias_level(codec, SND_SOC_BIAS_OFF); > return 0; > } > @@ -447,6 +450,7 @@ > { > struct snd_soc_device *socdev = platform_get_drvdata(pdev); > struct snd_soc_codec *codec = socdev->card->codec; > + struct ssm2602_priv *ssm2602 = codec->private_data; > int i; > u8 data[2]; > u16 *cache = codec->reg_cache; > @@ -459,6 +463,7 @@ > } > ssm2604_set_bias_level(codec, SND_SOC_BIAS_STANDBY); > ssm2604_set_bias_level(codec, codec->suspend_bias_level); > + snd_soc_write(codec, SSM2602_PWR, ssm2602->pwr_state); > return 0;
all these changes to the SSM2604 codec read "SSM2602" and thus fail to compile. pretty sure they should all read "SSM2604". -mike _______________________________________________ Linux-kernel-commits mailing list [email protected] https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits
