diff options
Diffstat (limited to 'sound/soc/codecs/tpa6130a2.c')
-rw-r--r-- | sound/soc/codecs/tpa6130a2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/tpa6130a2.c b/sound/soc/codecs/tpa6130a2.c index 0eb33d49942e..8e98ccfab75c 100644 --- a/sound/soc/codecs/tpa6130a2.c +++ b/sound/soc/codecs/tpa6130a2.c | |||
@@ -267,12 +267,8 @@ static const struct snd_kcontrol_new tpa6130a2_controls[] = { | |||
267 | */ | 267 | */ |
268 | static void tpa6130a2_channel_enable(u8 channel, int enable) | 268 | static void tpa6130a2_channel_enable(u8 channel, int enable) |
269 | { | 269 | { |
270 | struct tpa6130a2_data *data; | ||
271 | u8 val; | 270 | u8 val; |
272 | 271 | ||
273 | BUG_ON(tpa6130a2_client == NULL); | ||
274 | data = i2c_get_clientdata(tpa6130a2_client); | ||
275 | |||
276 | if (enable) { | 272 | if (enable) { |
277 | /* Enable channel */ | 273 | /* Enable channel */ |
278 | /* Enable amplifier */ | 274 | /* Enable amplifier */ |