mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
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 commitd9a7666f
("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
This commit is contained in:
parent
38dbfb59d1
commit
548da08fc1
@ -153,7 +153,7 @@ static int wm8958_dsp2_fw(struct snd_soc_codec *codec, const char *name,
|
||||
|
||||
data32 &= 0xffffff;
|
||||
|
||||
wm8994_bulk_write(codec->control_data,
|
||||
wm8994_bulk_write(wm8994->wm8994,
|
||||
data32 & 0xffffff,
|
||||
block_len / 2,
|
||||
(void *)(data + 8));
|
||||
|
Loading…
Reference in New Issue
Block a user