Re: [alsa-devel] [PATCH] ASoC: max98090 add irq valid check

2014-07-30 Thread Jarkko Nikula
Hi On 07/30/2014 11:54 AM, jianqun wrote: From: Jianqun Since IRQ pin from max98090 may NC, the irq number will be zero, that is invalid for request_threaded_irq, so just add irq valid check there. Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the driver can work well

[PATCH] ASoC: max98090 add irq valid check

2014-07-30 Thread jianqun
From: Jianqun Since IRQ pin from max98090 may NC, the irq number will be zero, that is invalid for request_threaded_irq, so just add irq valid check there. Since hardware may not MUST to use IRQ pin of max98090 as jack detect, the driver can work well without it, can report jack trigger to CPU b