mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
ASoC: wm_adsp: Add debug info on get()/put() transfers
Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
7328823d00
commit
562c5e6f52
@ -401,6 +401,7 @@ static int wm_coeff_write_control(struct snd_kcontrol *kcontrol,
|
||||
kfree(scratch);
|
||||
return ret;
|
||||
}
|
||||
adsp_dbg(adsp, "Wrote %zu bytes to %x\n", ctl->len, reg);
|
||||
|
||||
kfree(scratch);
|
||||
|
||||
@ -455,6 +456,7 @@ static int wm_coeff_read_control(struct snd_kcontrol *kcontrol,
|
||||
kfree(scratch);
|
||||
return ret;
|
||||
}
|
||||
adsp_dbg(adsp, "Read %zu bytes from %x\n", ctl->len, reg);
|
||||
|
||||
memcpy(buf, scratch, ctl->len);
|
||||
kfree(scratch);
|
||||
|
Loading…
Reference in New Issue
Block a user