diff options
author | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-06-19 14:40:25 +0200 |
---|---|---|
committer | Daniel Hillenbrand <daniel.hillenbrand@codeworkx.de> | 2012-06-19 14:40:25 +0200 |
commit | fda7ae52c07fecccdd2e93998fb1c716252fcab4 (patch) | |
tree | 811e816fd0e245575e566de86de27e13c58625ce | |
parent | 9e2e67df9c6e805ec56248f694dd16aba13580b6 (diff) | |
download | kernel_samsung_espresso10-fda7ae52c07fecccdd2e93998fb1c716252fcab4.tar.gz kernel_samsung_espresso10-fda7ae52c07fecccdd2e93998fb1c716252fcab4.tar.bz2 kernel_samsung_espresso10-fda7ae52c07fecccdd2e93998fb1c716252fcab4.zip |
espresso10: change machine name to espresso10
-rw-r--r-- | arch/arm/mach-omap2/board-espresso10.c | 2 | ||||
-rw-r--r-- | arch/arm/tools/mach-types | 2 | ||||
-rw-r--r-- | sound/soc/omap/sdp4430.c | 18 |
3 files changed, 11 insertions, 11 deletions
diff --git a/arch/arm/mach-omap2/board-espresso10.c b/arch/arm/mach-omap2/board-espresso10.c index f711ac6a1c3..262b58c623e 100644 --- a/arch/arm/mach-omap2/board-espresso10.c +++ b/arch/arm/mach-omap2/board-espresso10.c @@ -346,7 +346,7 @@ static void __init espresso10_reserve(void) omap_reserve(); } -MACHINE_START(OMAP4_SAMSUNG, "Espresso10") +MACHINE_START(OMAP4_SAMSUNG, "espresso10") /* Maintainer: Samsung Electronics Co, Ltd. */ .boot_params = 0x80000100, .reserve = espresso10_reserve, diff --git a/arch/arm/tools/mach-types b/arch/arm/tools/mach-types index 65d9e4ce379..4473a26972c 100644 --- a/arch/arm/tools/mach-types +++ b/arch/arm/tools/mach-types @@ -1113,4 +1113,4 @@ blissc MACH_BLISSC BLISSC 3491 thales_adc MACH_THALES_ADC THALES_ADC 3492 ubisys_p9d_evp MACH_UBISYS_P9D_EVP UBISYS_P9D_EVP 3493 atdgp318 MACH_ATDGP318 ATDGP318 3494 -omap4_samsung MACH_OMAP4_SAMSUNG OMAP4_SAMSUNG 2160 +espresso10 MACH_OMAP4_SAMSUNG OMAP4_SAMSUNG 2160 diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c index df587cdee64..a6f68ed568c 100644 --- a/sound/soc/omap/sdp4430.c +++ b/sound/soc/omap/sdp4430.c @@ -276,7 +276,7 @@ static int sdp4430_mcbsp_hw_params(struct snd_pcm_substream *substream, be_id = rtd->dai_link->be_id; if (be_id == OMAP_ABE_DAI_BT_VX) { - if (machine_is_tuna() || machine_is_omap4_samsung()) + if (machine_is_tuna() || machine_is_espresso10()) fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | SND_SOC_DAIFMT_CBM_CFM; @@ -541,7 +541,7 @@ static int sdp4430_twl6040_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_add_routes(dapm, audio_map, ARRAY_SIZE(audio_map)); /* SDP4430 connected pins */ - if (machine_is_tuna() || machine_is_omap4_samsung()) { + if (machine_is_tuna() || machine_is_espresso10()) { snd_soc_dapm_enable_pin(dapm, "Ext Main Mic"); snd_soc_dapm_enable_pin(dapm, "Ext Sub Mic"); } @@ -553,7 +553,7 @@ static int sdp4430_twl6040_init(struct snd_soc_pcm_runtime *rtd) snd_soc_dapm_enable_pin(dapm, "Headset Stereophone"); /* allow audio paths from the audio modem to run during suspend */ - if (machine_is_tuna() || machine_is_omap4_samsung()) { + if (machine_is_tuna() || machine_is_espresso10()) { snd_soc_dapm_ignore_suspend(dapm, "Ext Main Mic"); snd_soc_dapm_ignore_suspend(dapm, "Ext Sub Mic"); } @@ -1049,7 +1049,7 @@ static int __init sdp4430_soc_init(void) int ret; if (!machine_is_omap_4430sdp() && !machine_is_omap4_panda() && - !machine_is_tuna() && !machine_is_omap4_samsung()) { + !machine_is_tuna() && !machine_is_espresso10()) { pr_debug("Not SDP4430, PandaBoard or Tuna!\n"); return -ENODEV; } @@ -1070,7 +1070,7 @@ static int __init sdp4430_soc_init(void) } #endif #ifdef CONFIG_MACH_OMAP4_SAMSUNG - if (machine_is_omap4_samsung()) + if (machine_is_espresso10()) sec_omap4_micbias_gpio_init(); #endif @@ -1080,7 +1080,7 @@ static int __init sdp4430_soc_init(void) snd_soc_sdp4430.name = "Panda"; else if (machine_is_tuna()) snd_soc_sdp4430.name = "Tuna"; - else if (machine_is_omap4_samsung()) + else if (machine_is_espresso10()) snd_soc_sdp4430.name = "SEC_OMAP4"; twl6040_clk32kreg = regulator_get(NULL, "twl6040_clk32k"); @@ -1140,10 +1140,10 @@ submic_gpio_err: #ifdef CONFIG_MACH_OMAP4_SAMSUNG clk32kreg_err: - if (machine_is_omap4_samsung()) + if (machine_is_espresso10()) gpio_free(micbias_gpios[GPIO_SUB_MICBIAS_EN].gpio); submic_gpio_err: - if (machine_is_omap4_samsung()) + if (machine_is_espresso10()) gpio_free(micbias_gpios[GPIO_MICBIAS_EN].gpio); #endif mainmic_gpio_err: @@ -1161,7 +1161,7 @@ static void __exit sdp4430_soc_exit(void) #endif #ifdef CONFIG_MACH_OMAP4_SAMSUNG - if (machine_is_omap4_samsung()) { + if (machine_is_espresso10()) { gpio_free(micbias_gpios[GPIO_SUB_MICBIAS_EN].gpio); gpio_free(micbias_gpios[GPIO_MICBIAS_EN].gpio); } |