ASoC: add data field into snd_soc_jack_gpio
so callback could get the context data as needed Signed-off-by: xiangxiao <xiaoxiang@xiaomi.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
@@ -600,7 +600,8 @@ struct snd_soc_jack_gpio {
|
||||
struct snd_soc_jack *jack;
|
||||
struct delayed_work work;
|
||||
|
||||
int (*jack_status_check)(void);
|
||||
void *data;
|
||||
int (*jack_status_check)(void *data);
|
||||
};
|
||||
|
||||
struct snd_soc_jack {
|
||||
|
Reference in New Issue
Block a user