diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/max97236.c | 13 | ||||
-rw-r--r-- | sound/soc/tegra/Kconfig | 2 |
2 files changed, 1 insertions, 14 deletions
diff --git a/sound/soc/codecs/max97236.c b/sound/soc/codecs/max97236.c index 0b21a2db08f1..713521bfcf57 100644 --- a/sound/soc/codecs/max97236.c +++ b/sound/soc/codecs/max97236.c @@ -730,13 +730,6 @@ static int max97236_jacksw_active(struct max97236_priv *max97236) #endif int ret; - /* Overwrite above code using board id */ - if (board_info.board_id == BOARD_E1690) { - test_value = 0; - } else { /* ERS */ - test_value = 4; - } - regmap_read(max97236->regmap, M97236_REG_00_STATUS1, ®); ret = (reg & M97236_JACKSW_MASK) == test_value; @@ -1161,12 +1154,6 @@ static int test_jack_presence(struct max97236_priv *max97236, int delay) #else test_value = 0; #endif - /* Overwrite above code using board id */ - if (board_info.board_id == BOARD_E1690) { - test_value = 0; - } else { /* ERS */ - test_value = 4; - } if ((reg & M97236_JACKSW_MASK) == test_value) { schedule_delayed_work(&max97236->jack_work, diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig index 31652893fcd6..47ed21d7e7ec 100644 --- a/sound/soc/tegra/Kconfig +++ b/sound/soc/tegra/Kconfig @@ -298,7 +298,7 @@ config SND_SOC_TEGRA_RT5640 help Say Y or M here if you want to add support for SoC audio on Tegra boards using the ALC5640 codec. Currently, the supported boards - are Kai,Cardhu,Dalmore and Macallan. + are Kai,Cardhu and Dalmore. config MACH_HAS_SND_SOC_TEGRA_RT5645 bool |