]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ASoC: tegra-alt: support for button detection
authorSameer Pujar <spujar@nvidia.com>
Tue, 5 Jan 2016 10:21:53 +0000 (15:51 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 7 Jan 2016 16:32:53 +0000 (08:32 -0800)
commite415962a3a695e23a76a348270c4fc8fb72bcf2b
tree696aa49f15d36f3575135b9a9e944c08a4888398
parentd2d6bb69791720bf3ff10b5d69b4e63742490c7e
ASoC: tegra-alt: support for button detection

The machine driver has the callback registed, whenever any
jack event happens (button or jack plug/unplug) the notifer
block gets called and the switch state is altered. The jack
events are reported to ASoC by codec driver. Machine driver
handles only the switch state and ignores button events.

Bug 200148270

Change-Id: I456ea5bfb5702483871d795e2f0f7592f7bdec37
Signed-off-by: Sameer Pujar <spujar@nvidia.com>
Reviewed-on: http://git-master/r/929021
GVS: Gerrit_Virtual_Submit
Reviewed-by: Ravindra Lokhande <rlokhande@nvidia.com>
sound/soc/tegra-alt/tegra_t210ref_mobile_rt565x_alt.c