ASoC: wm8958-dsp: Fix firmware block loading
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 22 Feb 2014 17:30:13 +0000 (18:30 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 25 Feb 2014 04:39:36 +0000 (13:39 +0900)
commit548da08fc1e245faf9b0d7c41ecd8e07984fc332
tree5bb88defe2b06f22d5dabb5e12ab17c232bcb212
parent38dbfb59d1175ef458d006556061adeaa8751b72
ASoC: wm8958-dsp: Fix firmware block loading

The codec->control_data contains a pointer to the device's regmap struct. But
wm8994_bulk_write() expects a pointer to the parent wm8998 device.

The issue was introduced in commit d9a7666f ("ASoC: Remove ASoC-specific
WM8994 I/O code").

Fixes: d9a7666f ("ASoC: Remove ASoC-specific WM8994 I/O code")
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/wm8958-dsp2.c