Re: [alsa-devel] [PATCH v3] ASoC: sgtl5000: add avc support

From: Richard Leitner
Date: Thu Jul 20 2017 - 13:25:22 EST


Hi Fabio,
thanks for the testing/reporting!

On 07/20/2017 07:11 PM, Fabio Estevam wrote:

Running linux-next-20170720 on a imx53-qsb I get the following issue:

root@imx53qsb:~# reboot
...
ALSA: Storing mixer settings...
[ 20.031604] Unable to handle kernel paging request at virtual
address fffffffe
...
[ 20.242852] Backtrace:
[ 20.245318] [<c0759ae0>] (snd_soc_component_read) from [<c0759bc8>]
(snd_soc_read+0x1c/0x30)
[ 20.253774] [<c0759bac>] (snd_soc_read) from [<c075e19c>]
(avc_get_threshold+0x1c/0x90)
[ 20.261798] [<c075e180>] (avc_get_threshold) from [<c07349fc>]
(snd_ctl_ioctl+0x5b8/0xb38)
...
If I revert a729526720059ae ("ASoC: sgtl5000: add avc support") the
problem does not happen.

Could you please fix this issue?

Does this occur only on reboot or everytime the driver tries to read the AVC threshold (avc_get_threshold)?
Are you able to set the AVC threshold (using amixer)?

Thanks & regards,
Richard.L