diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-23 09:30:41 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-11-23 09:30:41 -0500 |
commit | d50a87402e29e16a63152be810d9723ce4d87e37 (patch) | |
tree | 968932ec54cffd983b46bfb43d571c4d0d355561 | |
parent | 5033f43c66754296dfb0ac5c895208e4a7f93aac (diff) | |
parent | 24fb2b1174ddc1f844e2008eb5b3105832860395 (diff) |
Merge branch 'for-2.6.37' into for-2.6.38
-rw-r--r-- | sound/soc/codecs/max98088.c | 3 | ||||
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 4 | ||||
-rw-r--r-- | sound/soc/codecs/wm8904.c | 2 | ||||
-rw-r--r-- | sound/soc/codecs/wm8994.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_dma.c | 1 |
5 files changed, 10 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index c44b5f70b5e0..335a002aaf0e 100644 --- a/sound/soc/codecs/max98088.c +++ b/sound/soc/codecs/max98088.c | |||
@@ -2020,7 +2020,10 @@ err_access: | |||
2020 | 2020 | ||
2021 | static int max98088_remove(struct snd_soc_codec *codec) | 2021 | static int max98088_remove(struct snd_soc_codec *codec) |
2022 | { | 2022 | { |
2023 | struct max98088_priv *max98088 = snd_soc_codec_get_drvdata(codec); | ||
2024 | |||
2023 | max98088_set_bias_level(codec, SND_SOC_BIAS_OFF); | 2025 | max98088_set_bias_level(codec, SND_SOC_BIAS_OFF); |
2026 | kfree(max98088->eq_texts); | ||
2024 | 2027 | ||
2025 | return 0; | 2028 | return 0; |
2026 | } | 2029 | } |
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index bfef3da95f58..2d64502c0c5b 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -77,8 +77,10 @@ static int tpa6130a2_i2c_write(int reg, u8 value) | |||
77 | 77 | ||
78 | if (data->power_state) { | 78 | if (data->power_state) { |
79 | val = i2c_smbus_write_byte_data(tpa6130a2_client, reg, value); | 79 | val = i2c_smbus_write_byte_data(tpa6130a2_client, reg, value); |
80 | if (val < 0) | 80 | if (val < 0) { |
81 | dev_err(&tpa6130a2_client->dev, "Write failed\n"); | 81 | dev_err(&tpa6130a2_client->dev, "Write failed\n"); |
82 | return val; | ||
83 | } | ||
82 | } | 84 | } |
83 | 85 | ||
84 | /* Either powered on or off, we save the context */ | 86 | /* Either powered on or off, we save the context */ |
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index da9192890187..d0024666eaf9 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c | |||
@@ -2498,6 +2498,8 @@ static int wm8904_remove(struct snd_soc_codec *codec) | |||
2498 | 2498 | ||
2499 | wm8904_set_bias_level(codec, SND_SOC_BIAS_OFF); | 2499 | wm8904_set_bias_level(codec, SND_SOC_BIAS_OFF); |
2500 | regulator_bulk_free(ARRAY_SIZE(wm8904->supplies), wm8904->supplies); | 2500 | regulator_bulk_free(ARRAY_SIZE(wm8904->supplies), wm8904->supplies); |
2501 | kfree(wm8904->retune_mobile_texts); | ||
2502 | kfree(wm8904->drc_texts); | ||
2501 | 2503 | ||
2502 | return 0; | 2504 | return 0; |
2503 | } | 2505 | } |
diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index 63a3895b021a..283399468b0c 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c | |||
@@ -2503,6 +2503,8 @@ static int wm8994_codec_remove(struct snd_soc_codec *codec) | |||
2503 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC2_DET, wm8994); | 2503 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC2_DET, wm8994); |
2504 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC1_SHRT, wm8994); | 2504 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC1_SHRT, wm8994); |
2505 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC1_DET, wm8994); | 2505 | wm8994_free_irq(codec->control_data, WM8994_IRQ_MIC1_DET, wm8994); |
2506 | kfree(wm8994->retune_mobile_texts); | ||
2507 | kfree(wm8994->drc_texts); | ||
2506 | kfree(wm8994); | 2508 | kfree(wm8994); |
2507 | 2509 | ||
2508 | return 0; | 2510 | return 0; |
diff --git a/sound/soc/fsl/mpc5200_dma.c b/sound/soc/fsl/mpc5200_dma.c index dce6b551cd78..f92dca07cd35 100644 --- a/sound/soc/fsl/mpc5200_dma.c +++ b/sound/soc/fsl/mpc5200_dma.c | |||
@@ -9,7 +9,6 @@ | |||
9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
10 | #include <linux/of_device.h> | 10 | #include <linux/of_device.h> |
11 | #include <linux/slab.h> | 11 | #include <linux/slab.h> |
12 | #include <linux/of_device.h> | ||
13 | #include <linux/of_platform.h> | 12 | #include <linux/of_platform.h> |
14 | 13 | ||
15 | #include <sound/soc.h> | 14 | #include <sound/soc.h> |