diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-09-10 06:46:27 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-22 11:18:24 -0400 |
commit | 281ecd1611654cdcdec0ffcb55e8f285b8199727 (patch) | |
tree | 840f6d17d56fc02f2f19d36e775f5d8197360a1f /include/linux/i2c | |
parent | 79026219588a8102a831ec682e11696fee35797d (diff) |
ASoC: twl4030: Move hs_extmute GPIO handling to driver
The external mute (if it is in use) is handled by a GPIO line. Prepare to
remove the set_hs_extmute callback and replace it with:
hs_extmute_gpio: the GPIO number to use for external mute
When the users of set_hs_extmute has been converted the callback can be removed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/i2c')
-rw-r--r-- | include/linux/i2c/twl.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/i2c/twl.h b/include/linux/i2c/twl.h index ac6488c9f250..2040309a46b7 100644 --- a/include/linux/i2c/twl.h +++ b/include/linux/i2c/twl.h | |||
@@ -667,7 +667,9 @@ struct twl4030_codec_data { | |||
667 | unsigned int check_defaults:1; | 667 | unsigned int check_defaults:1; |
668 | unsigned int reset_registers:1; | 668 | unsigned int reset_registers:1; |
669 | unsigned int hs_extmute:1; | 669 | unsigned int hs_extmute:1; |
670 | void (*set_hs_extmute)(int mute); | 670 | void (*set_hs_extmute)(int mute); /* Deprecated, use hs_extmute_gpio and |
671 | hs_extmute_disable_level */ | ||
672 | int hs_extmute_gpio; | ||
671 | }; | 673 | }; |
672 | 674 | ||
673 | struct twl4030_vibra_data { | 675 | struct twl4030_vibra_data { |