From: Mark Brown Date: Wed, 21 May 2014 23:23:57 +0000 (+0100) Subject: Merge remote-tracking branches 'asoc/topic/nuc900', 'asoc/topic/omap', 'asoc/topic... X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6f821c644966e6ccbe9a98e081621b7e1a58dc64;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git Merge remote-tracking branches 'asoc/topic/nuc900', 'asoc/topic/omap', 'asoc/topic/pxa', 'asoc/topic/rcar', 'asoc/topic/rt5640' and 'asoc/topic/rt5645' into asoc-next --- 6f821c644966e6ccbe9a98e081621b7e1a58dc64 diff --cc sound/soc/omap/ams-delta.c index 669f84d9b76e,56a5219c0a00,b0f8dbc1f635,56a5219c0a00,56a5219c0a00,56a5219c0a00,56a5219c0a00..bb243c663e6b --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c @@@@@@@@ -518,8 -520,29 -518,10 -520,29 -520,29 -520,29 -520,29 +518,8 @@@@@@@@ static int ams_delta_cx20442_init(struc return 0; } - ---- /* Add board specific DAPM widgets and routes */ - ---- ret = snd_soc_dapm_new_controls(dapm, ams_delta_dapm_widgets, - ---- ARRAY_SIZE(ams_delta_dapm_widgets)); - ---- if (ret) { - ---- dev_warn(card->dev, - ---- "Failed to register DAPM controls, " - ---- "will continue without any.\n"); - ---- return 0; - ---- } - ---- - ---- ret = snd_soc_dapm_add_routes(dapm, ams_delta_audio_map, - ---- ARRAY_SIZE(ams_delta_audio_map)); - ---- if (ret) { - ---- dev_warn(card->dev, - ---- "Failed to set up DAPM routes, " - ---- "will continue with codec default map.\n"); - ---- return 0; - ---- } - ---- /* Set up initial pin constellation */ snd_soc_dapm_disable_pin(dapm, "Mouthpiece"); ------ snd_soc_dapm_enable_pin(dapm, "Earpiece"); ------ snd_soc_dapm_enable_pin(dapm, "Microphone"); snd_soc_dapm_disable_pin(dapm, "Speaker"); snd_soc_dapm_disable_pin(dapm, "AGCIN"); snd_soc_dapm_disable_pin(dapm, "AGCOUT");