Commit 02624621 authored by Janusz Krzysztofik's avatar Janusz Krzysztofik Committed by Mark Brown

ASoC: Amstrad Delta minor cleanups

Hi Mark,

Here is a patch that corrects small omissions I have found in my code.
Signed-off-by: default avatarJanusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 9927f327
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
/* Board specific DAPM widgets */ /* Board specific DAPM widgets */
const struct snd_soc_dapm_widget ams_delta_dapm_widgets[] = { static const struct snd_soc_dapm_widget ams_delta_dapm_widgets[] = {
/* Handset */ /* Handset */
SND_SOC_DAPM_MIC("Mouthpiece", NULL), SND_SOC_DAPM_MIC("Mouthpiece", NULL),
SND_SOC_DAPM_HP("Earpiece", NULL), SND_SOC_DAPM_HP("Earpiece", NULL),
...@@ -81,7 +81,7 @@ static const char *ams_delta_audio_mode[] = ...@@ -81,7 +81,7 @@ static const char *ams_delta_audio_mode[] =
(1 << AMS_DELTA_SPEAKER)) (1 << AMS_DELTA_SPEAKER))
#define AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC)) #define AMS_DELTA_SPEAKERPHONE (AMS_DELTA_HANDSFREE | (1 << AMS_DELTA_AGC))
unsigned short ams_delta_audio_mode_pins[] = { static const unsigned short ams_delta_audio_mode_pins[] = {
AMS_DELTA_MIXED, AMS_DELTA_MIXED,
AMS_DELTA_HANDSET, AMS_DELTA_HANDSET,
AMS_DELTA_HANDSFREE, AMS_DELTA_HANDSFREE,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment