diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-01-15 12:52:01 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-15 11:57:05 +0000 |
commit | 7331ea474e9e7a348541c207bdb6aa518c6403f4 (patch) | |
tree | c39bcdcec88fa89512ca7967b091ef72b5adb385 /sound/soc/atmel | |
parent | 0201e5052157d82144ff272f56c9eb27f151cddc (diff) |
ASoC: mioa701_wm9713: Fix speaker event
Commit f6b2a04590bb ("ASoC: pxa: mioa701_wm9713: Convert to table based DAPM
setup") converted the driver to register the board level DAPM elements with
the card's DAPM context rather than the CODEC's DAPM context. The change
overlooked that the speaker widget event callback accesses the widget's
codec field which is only valid if the widget has been registered in a CODEC
DAPM context. This patch modifies the callback to take an alternative route
to get the CODEC.
Fixes: f6b2a04590bb ("ASoC: pxa: mioa701_wm9713: Convert to table based DAPM
setup")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/atmel')
0 files changed, 0 insertions, 0 deletions