tegra: hdmi: add hdmi_audio capability exposure via sysfs
authorEmma Yan <eyan@nvidia.com>
Wed, 10 Apr 2013 08:10:27 +0000 (16:10 +0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Tue, 17 Sep 2013 00:41:41 +0000 (17:41 -0700)
commit66a3fa61c28eb541320f7ddaadb0413c9b1e8eed
tree1addbae9f41ff3af6934bc187a5ff4466c91ed02
parenta188fb34286c6db37d7259f9a1923a95eb040fe3
tegra: hdmi: add hdmi_audio capability exposure via sysfs

Add checking of the CEA extension bit 6 of byte #3 and expose this
information for userspace to set audio path properly.

Bug 1261178

(cherry-picked from commit 7cb4be8a47081a1468faa29509475eed462fb671)
Reviewed-on: http://git-master/r/218151
Change-Id: Id2780f735da13c7292f269d7ddd9a87b3d09d0d6
Signed-off-by: Emma Yan <eyan@nvidia.com>
Reviewed-on: http://git-master/r/271954
GVS: Gerrit_Virtual_Submit
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
drivers/video/tegra/dc/edid.c
drivers/video/tegra/dc/edid.h
drivers/video/tegra/dc/hdmi.c
drivers/video/tegra/dc/hdmi.h
drivers/video/tegra/dc/hdmi_state_machine.c