]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ASoC: Codec: jack det. pin from dts and add workq
authorSameer Pujar <spujar@nvidia.com>
Tue, 5 Jan 2016 09:22:35 +0000 (14:52 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 7 Jan 2016 16:32:50 +0000 (08:32 -0800)
commit718ebd0ab19aadc37b03778d62c9f6fe4a68853f
treee8540fd9d282653841109a11db385aa171c0b266
parent484d5405ca7cbdab8900ca6e1db5eae7c0f1d801
ASoC: Codec: jack det. pin from dts and add workq

Added support to parse the information from i2c device
tree node for using assigned GPIO for jack detection.
The irq is requested based on this.

Defined a local workqueue to handle the jack interrupt
and report to the ASoC jack framework.
(This is specific to k310 version of codec driver, k318
uses the workq provided workqueue framework, which is
not available for k310)

Bug 200148270

Change-Id: I266142b19fa7333cfee88d9f80521cab89ff2b43
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: http://git-master/r/929001
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
sound/soc/codecs/rt5659.c
sound/soc/codecs/rt5659.h