]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: cs4349: Don't use rtd->codec
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 19 Jul 2015 10:15:18 +0000 (12:15 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 20 Jul 2015 17:15:29 +0000 (18:15 +0100)
commitdedae86d4da6c88ec2105e0bd038acc57c203bca
treeec84dd7051912ac93fcebfb915698cb20bb89f82
parentcb2510dac7e1c5ac77652bb31e8c39ce2eef8bbe
ASoC: cs4349: Don't use rtd->codec

rtd->codec does not necessarily point to the CODEC instance for which the
callback was called (e.g. for CODEC<->CODEC or multi-CODEC links). Use
dai->codec instead.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs4349.c