ASoC: wm8958-dsp: Fix firmware block loading
authorLars-Peter Clausen <lars@metafoo.de>
Sat, 22 Feb 2014 17:30:13 +0000 (18:30 +0100)
committerJiri Slaby <jslaby@suse.cz>
Wed, 5 Mar 2014 16:13:44 +0000 (17:13 +0100)
commita50b12e295695ad225f1fbe6aa376cf16c10a2d8
tree662ad5203fa6f71bfe3433d239255810feda71a3
parent75a6bf2f43f3898ee5ccdfb69e0e882c0bf77cd8
ASoC: wm8958-dsp: Fix firmware block loading

commit 548da08fc1e245faf9b0d7c41ecd8e07984fc332 upstream.

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>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
sound/soc/codecs/wm8958-dsp2.c