summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5659.h
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-01-12 15:55:17 +0800
committerMark Brown <broonie@kernel.org>2016-01-13 12:40:56 +0000
commit1ca2cf8c4167c2016d9716998b4f89c4e79d1f89 (patch)
treede1674bbab343f6e6943a75ea0957a7ba7221800 /sound/soc/codecs/rt5659.h
parentd3cb2de2479bbbde29391393d68f2e313e1f0504 (diff)
downloadlinux-1ca2cf8c4167c2016d9716998b4f89c4e79d1f89.tar.bz2
ASoC: rt5659: Fix irq leak
Use devm_request_threaded_irq to ensure the irq is freed when unload the module. The rt5659->i2c is no longer used after this conversion, thus remove it as well. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5659.h')
-rw-r--r--sound/soc/codecs/rt5659.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt5659.h b/sound/soc/codecs/rt5659.h
index 8f07ee903eaa..d31c9e5bcec8 100644
--- a/sound/soc/codecs/rt5659.h
+++ b/sound/soc/codecs/rt5659.h
@@ -1792,7 +1792,6 @@ struct rt5659_priv {
struct snd_soc_codec *codec;
struct rt5659_platform_data pdata;
struct regmap *regmap;
- struct i2c_client *i2c;
struct gpio_desc *gpiod_ldo1_en;
struct gpio_desc *gpiod_reset;
struct snd_soc_jack *hs_jack;