]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: max98090: Fix ill-defined sidetone route
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 24 Nov 2014 13:32:36 +0000 (15:32 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 17:13:59 +0000 (17:13 +0000)
commit48826ee590da03e9882922edf96d8d27bdfe9552
tree6972aac2ff687617259d30e425e148af2861169d
parent4cf703a7bca4c29d06028821db60f253390a84a7
ASoC: max98090: Fix ill-defined sidetone route

Commit 5fe5b767dc6f ("ASoC: dapm: Do not pretend to support controls for non
mixer/mux widgets") revealed ill-defined control in a route between
"STENL Mux" and DACs in max98090.c:

max98090 i2c-193C9890:00: Control not supported for path STENL Mux -> [NULL] -> DACL
max98090 i2c-193C9890:00: ASoC: no dapm match for STENL Mux --> NULL --> DACL
max98090 i2c-193C9890:00: ASoC: Failed to add route STENL Mux -> NULL -> DACL
max98090 i2c-193C9890:00: Control not supported for path STENL Mux -> [NULL] -> DACR
max98090 i2c-193C9890:00: ASoC: no dapm match for STENL Mux --> NULL --> DACR
max98090 i2c-193C9890:00: ASoC: Failed to add route STENL Mux -> NULL -> DACR

Since there is no control between "STENL Mux" and DACs the control name must
be NULL not "NULL".

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/max98090.c