]> rtime.felk.cvut.cz Git - hercules2020/nv-tegra/linux-4.4.git/commit
ASoC: tegra-alt: Remove Headphone detection gpio for Jetson TX1
authorJon Hunter <jonathanh@nvidia.com>
Tue, 30 May 2017 04:45:52 +0000 (10:15 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Sun, 2 Jul 2017 05:15:02 +0000 (22:15 -0700)
commitbab44bf94868670923bfc53d3dfe7e1561a2be9c
tree9d92b29cb92cc3b7839692f581761b8486697268
parented85e29c27bf33ceb9373cbec244703cf750d963
ASoC: tegra-alt: Remove Headphone detection gpio for Jetson TX1

During kernel boot the following error message is seen for Jetson
TX1 platform:

 tegra-snd-t210ref-mobile-rt565x sound: Failed to get HP Det GPIO, should be handled by codec

This above error message occurs because there is no headphone
detection GPIO defined for the Jetson TX1 in device-tree. When
using the audio supermodule with the Jetson TX1, headphone
detection is handled purely by the codec and so there is no
dedicated GPIO for headphone detection. Therefore, fix this by
removing the GPIO code for headphone detection from the audio
machine driver for Jetson TX1.

Bug 1774835

Change-Id: I8747ed10402e6ec86a3db4667d33b31985282908
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Reviewed-on: http://git-master/r/1494053
(cherry picked from commit a7836ba4b139835260feaa2086c5a145c3a16932)
Reviewed-on: https://git-master/r/1497365
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
sound/soc/tegra-alt/tegra_t210ref_mobile_rt565x_alt.c