From: Mark Brown Date: Wed, 17 Aug 2011 06:14:17 +0000 (+0900) Subject: ASoC: Fix backport of WM8994 thermal warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=60e3ee62af12e7c5d91153ce724956254a857c2e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ASoC: Fix backport of WM8994 thermal warning Signed-off-by: Mark Brown Reported-by: Stephen Rothwell --- diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 94124913bb3e..e5372675123d 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -3141,9 +3141,9 @@ static int wm8994_codec_probe(struct snd_soc_codec *codec) wm8994_request_irq(codec->control_data, WM8994_IRQ_FIFOS_ERR, wm8994_fifo_error, "FIFO error", codec); - wm8994_request_irq(wm8994->wm8994, WM8994_IRQ_TEMP_WARN, + wm8994_request_irq(wm8994->control_data, WM8994_IRQ_TEMP_WARN, wm8994_temp_warn, "Thermal warning", codec); - wm8994_request_irq(wm8994->wm8994, WM8994_IRQ_TEMP_SHUT, + wm8994_request_irq(wm8994->control_data, WM8994_IRQ_TEMP_SHUT, wm8994_temp_shut, "Thermal shutdown", codec); ret = wm8994_request_irq(codec->control_data, WM8994_IRQ_DCS_DONE,