[PATCH 10/15] ASoC: cs42l42: Report jack and button detection

2021-03-02 Thread Lucas Tanure
Report the Jack events to the user space through ALSA. Also moves request_threaded_irq() to component_probe so it don't get interrupts before the initialization the struct snd_soc_jack. Signed-off-by: Lucas Tanure --- sound/soc/codecs/cs42l42.c | 142 + sound/

Re: [PATCH 10/15] ASoC: cs42l42: Report jack and button detection

2021-03-02 Thread Mark Brown
On Tue, Mar 02, 2021 at 05:04:49PM +, Lucas Tanure wrote: > Report the Jack events to the user space through ALSA. > Also moves request_threaded_irq() to component_probe so it don't get > interrupts before the initialization the struct snd_soc_jack. This looks like it should be split into two