diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-10-21 14:22:31 -0700 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2011-11-17 17:51:28 -0800 |
commit | 803f3af27f4f983ae1d6ca4886c635991da38720 (patch) | |
tree | 1ef22b1861e98e384184ae2ab29ba91ccaed869d /sound | |
parent | 3a792ecface78611fc79deac94731db4e5547679 (diff) | |
download | kernel_samsung_crespo-803f3af27f4f983ae1d6ca4886c635991da38720.zip kernel_samsung_crespo-803f3af27f4f983ae1d6ca4886c635991da38720.tar.gz kernel_samsung_crespo-803f3af27f4f983ae1d6ca4886c635991da38720.tar.bz2 |
ASoC: Use CODEC_OFF when marking the CODEC as powered down on suspend
We're using CODEC_OFF elsewhere so use it here also for consistency.
Change-Id: Ia2d7933b36374a896ffffaf5542644d4d7f6c715
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rwxr-xr-x | sound/soc/codecs/wm8994_samsung.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8994_samsung.c b/sound/soc/codecs/wm8994_samsung.c index 8f4c55e..f08a53a 100755 --- a/sound/soc/codecs/wm8994_samsung.c +++ b/sound/soc/codecs/wm8994_samsung.c @@ -1500,7 +1500,7 @@ static int wm8994_suspend(struct platform_device *pdev, pm_message_t msg) if (wm8994->codec_state == DEACTIVE && wm8994->stream_state == PCM_STREAM_DEACTIVE) { - wm8994->power_state = OFF; + wm8994->power_state = CODEC_OFF; wm8994_write(codec, WM8994_SOFTWARE_RESET, 0x0000); wm8994_ldo_control(wm8994->pdata, 0); wm8994->universal_clock_control(codec, CODEC_OFF); |