summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorAnatol Pomozov <anatol.pomozov@gmail.com>2015-07-12 08:14:20 -0700
committerMark Brown <broonie@kernel.org>2015-07-13 19:13:03 +0100
commit508e61953f7b2c5c828412e5b46fa99b8a3fbaa1 (patch)
tree5b2157955737761e373dcf88ed94613af6b32e93 /sound/soc/codecs
parent5119222f2e3de2e51a3b3270036d53c55ce68236 (diff)
downloadtalos-obmc-linux-508e61953f7b2c5c828412e5b46fa99b8a3fbaa1.tar.gz
talos-obmc-linux-508e61953f7b2c5c828412e5b46fa99b8a3fbaa1.zip
ASoC: max98357a: Use DAI input as a dapm widget
Spec does not say anything about DAC called SDMode. It makes more sense to use DAI input that created automatically by DAPM and route it to Speaker output. Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/max98357a.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/max98357a.c b/sound/soc/codecs/max98357a.c
index fa1b79302bb3..b9e1131bab74 100644
--- a/sound/soc/codecs/max98357a.c
+++ b/sound/soc/codecs/max98357a.c
@@ -51,12 +51,11 @@ static int max98357a_daiops_trigger(struct snd_pcm_substream *substream,
}
static const struct snd_soc_dapm_widget max98357a_dapm_widgets[] = {
- SND_SOC_DAPM_DAC("SDMode", NULL, SND_SOC_NOPM, 0, 0),
SND_SOC_DAPM_OUTPUT("Speaker"),
};
static const struct snd_soc_dapm_route max98357a_dapm_routes[] = {
- {"Speaker", NULL, "SDMode"},
+ {"Speaker", NULL, "HiFi Playback"},
};
static int max98357a_codec_probe(struct snd_soc_codec *codec)
OpenPOWER on IntegriCloud