Skip to content

Commit

Permalink
ASoC: cs4270: fix DAPM stream name mismatch
Browse files Browse the repository at this point in the history
Mismatching stream names in DAPM route and widget definitions are
causing compilation errors. Fixing these names allows the cs4270
driver to compile and function.

[Errors must be at probe time not compile time -- broonie]

Signed-off-by: Murray Foster <[email protected]>
Acked-by: Paul Handrigan <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Cc: [email protected]
  • Loading branch information
resinbeard authored and broonie committed Oct 11, 2016
1 parent 513e43e commit aa5f920
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sound/soc/codecs/cs4270.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ SND_SOC_DAPM_OUTPUT("AOUTR"),
};

static const struct snd_soc_dapm_route cs4270_dapm_routes[] = {
{ "Capture", NULL, "AINA" },
{ "Capture", NULL, "AINB" },
{ "Capture", NULL, "AINL" },
{ "Capture", NULL, "AINR" },

{ "AOUTA", NULL, "Playback" },
{ "AOUTB", NULL, "Playback" },
{ "AOUTL", NULL, "Playback" },
{ "AOUTR", NULL, "Playback" },
};

/**
Expand Down

0 comments on commit aa5f920

Please sign in to comment.