ASoC: codecs: Replace instances of rtd->codec with dai->codec
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 13 Mar 2014 20:24:54 +0000 (21:24 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 18 Mar 2014 12:47:49 +0000 (12:47 +0000)
commitab64246cf8c31f70a390dcabd134097c3aec45ab
tree5b339a01f4a9e50b3547c3fd64dd66c3680d2127
parentdac7e40404a6b1e7442c01ef4c2e7e149b9627e5
ASoC: codecs: Replace instances of rtd->codec with dai->codec

With CODEC to CODEC links rtd->codec does not necessarily point to the driver's
CODEC. CODEC drivers should always use dai->codec and never even look at the PCM
runtime.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/isabelle.c
sound/soc/codecs/mc13783.c
sound/soc/codecs/rt5640.c
sound/soc/codecs/sta529.c
sound/soc/codecs/tlv320aic31xx.c
sound/soc/codecs/uda134x.c
sound/soc/codecs/uda1380.c
sound/soc/codecs/wm8580.c