[alsa-devel] [PATCH v2 3/3] ASoC: rt5670: add codec irq support

Lars-Peter Clausen lars at metafoo.de
Mon Nov 17 09:22:34 CET 2014


On 11/17/2014 08:27 AM, Bard Liao wrote:
> This patch provide the jack function of rt5670. We use a irq pin to notice the jack event. rt5670_irq_detection will determine which status should be reported.
> We can get gpio information from gpio number or gpiod_dev. That's why we define both on platform data.

New code should only use the descriptor GPIO API. The old way of passing 
GPIO numbers as platform data is considered deprecated and will be removed 
once there are no drivers left using it.

- Lars


More information about the Alsa-devel mailing list