ASoC: Fix backport of WM8994 thermal warning
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Aug 2011 06:14:17 +0000 (15:14 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Aug 2011 06:20:45 +0000 (15:20 +0900)
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
sound/soc/codecs/wm8994.c

index 94124913bb3edd34d81d80342c2ae2fd29bdf2c1..e5372675123d32ea070b3edc91a2a8fd0e626cfd 100644 (file)
@@ -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,