ASoC: pxa: Pass correct DAPM context to {corgi,poodle,spitz}_ext_control
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 1 Mar 2014 14:48:13 +0000 (15:48 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 3 Mar 2014 02:01:48 +0000 (11:01 +0900)
commite14de47ac95fb25818294325cd77d520c90c6ced
tree91f7fda91ed629c4d0a5ff2b9d1e24115a89373b
parent9b87a5b0d4aad02e9dff299b63cd85930eb233d8
ASoC: pxa: Pass correct DAPM context to {corgi,poodle,spitz}_ext_control

When calling {corgi,poodle,spitz}_ext_control() from the startup callback we
pass the CODEC's DAPM context instead of the card's DAPM context. This is not a
problem per se since all the DAPM functions in ext_control() fallback to widgets
from other DAPM contexts, but passing the card's context is more consistent.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/pxa/corgi.c
sound/soc/pxa/poodle.c
sound/soc/pxa/spitz.c