Re: [PATCH v4 10/13] ASoC: arizona-jack: Use snd_soc_jack to report jack events

2021-01-30 Thread Charles Keepax
On Sat, Jan 23, 2021 at 01:17:17PM +0100, Hans de Goede wrote: > Use the snd_soc_jack code to report jack events, instead of using extcon > for reporting the cable-type + an input_dev for reporting the button > presses. > > The snd_soc_jack code will report the cable-type through both input_dev >

[PATCH v4 10/13] ASoC: arizona-jack: Use snd_soc_jack to report jack events

2021-01-23 Thread Hans de Goede
Use the snd_soc_jack code to report jack events, instead of using extcon for reporting the cable-type + an input_dev for reporting the button presses. The snd_soc_jack code will report the cable-type through both input_dev events and through ALSA controls and the button-presses through input_dev