From: Mark Brown Date: Tue, 28 Dec 2010 23:42:53 +0000 (+0000) Subject: Merge branch 'for-2.6.37' into for-2.6.38 X-Git-Tag: v3.0~832^2~32^2~238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=22a756ee8951e597c76e5a60f81d40a43054489e;p=platform%2Fkernel%2Flinux-amlogic.git Merge branch 'for-2.6.37' into for-2.6.38 --- 22a756ee8951e597c76e5a60f81d40a43054489e diff --cc sound/soc/codecs/wm8753.c index 73507e7,87caae5..79b02ae --- a/sound/soc/codecs/wm8753.c +++ b/sound/soc/codecs/wm8753.c @@@ -1286,13 -1239,13 +1239,13 @@@ static int wm8753_set_bias_level(struc break; case SND_SOC_BIAS_STANDBY: /* mute dac and set vmid to 500k, enable VREF */ - wm8753_write(codec, WM8753_PWR1, pwr_reg | 0x0141); + snd_soc_write(codec, WM8753_PWR1, pwr_reg | 0x0141); break; case SND_SOC_BIAS_OFF: - wm8753_write(codec, WM8753_PWR1, 0x0001); + snd_soc_write(codec, WM8753_PWR1, 0x0001); break; } - codec->bias_level = level; + codec->dapm.bias_level = level; return 0; } @@@ -1531,9 -1479,28 +1481,9 @@@ static int wm8753_resume(struct snd_soc static int wm8753_probe(struct snd_soc_codec *codec) { struct wm8753_priv *wm8753 = snd_soc_codec_get_drvdata(codec); - int ret = 0, reg; + int ret; - INIT_DELAYED_WORK(&codec->delayed_work, wm8753_work); + INIT_DELAYED_WORK(&codec->dapm.delayed_work, wm8753_work); ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8753->control_type); if (ret < 0) {