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>
This commit is contained in:

committed by
Mark Brown

parent
7902621958
commit
281ecd1611
@@ -667,7 +667,9 @@ struct twl4030_codec_data {
|
||||
unsigned int check_defaults:1;
|
||||
unsigned int reset_registers:1;
|
||||
unsigned int hs_extmute:1;
|
||||
void (*set_hs_extmute)(int mute);
|
||||
void (*set_hs_extmute)(int mute); /* Deprecated, use hs_extmute_gpio and
|
||||
hs_extmute_disable_level */
|
||||
int hs_extmute_gpio;
|
||||
};
|
||||
|
||||
struct twl4030_vibra_data {
|
||||
|
Reference in New Issue
Block a user