summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorGopikrishnaiah Anandan <agopik@codeaurora.org>2013-04-17 17:50:49 -0400
committerStephen Boyd <sboyd@codeaurora.org>2013-09-04 16:42:39 -0700
commit54fb089e65beca4823b49c3800d8c23e188f08b3 (patch)
treeadf185aa7e98ff5a5f464727d6b54369e888e882 /sound/soc/codecs/Kconfig
parenta062ea9f3e2c52d16a1deabaeb65c0dcd77d9a0b (diff)
ASoC: msm: 8974: Fix HDMI audio enable criteria
HDMI audio feature should be disabled if hdmi panel is not enabled on the platform. This change ensures that HDMI audio is enabled only when HDMI panel is present. CRs-fixed: 476010 Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org> Change-Id: I6779a9b2afa763b7a78b5e9f8be1f8b230298830
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig6
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 3b2088789947..47fab8ae1255 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -544,4 +544,8 @@ config SND_SOC_MSM_STUB
tristate
config SND_SOC_MSM_HDMI_CODEC_RX
- tristate
+ bool "HDMI Audio Playback"
+ depends on FB_MSM_MDSS_HDMI_PANEL && SND_SOC_MSM8974
+ help
+ HDMI audio drivers should be built only if the platform
+ supports hdmi panel.