[PATCH] ASoC: wm8524: Do not print probe defer error

Charles Keepax ckeepax at opensource.cirrus.com
Tue Mar 2 12:15:34 CET 2021


On Mon, Mar 01, 2021 at 04:33:28PM -0300, Fabio Estevam wrote:
> On an imx8mq-evk the following error is seen:
> 
> [    1.375809] wm8524-codec audio-codec: Failed to get mute line: -517
> 
> It happens because the codec driver may probe prior to the imx gpio
> driver, which causes a probe defer.
> 
> Change to dev_err_probe() to avoid printing this error.
> 
> Reported-by: Chris Healy <cphealy at gmail.com>
> Signed-off-by: Fabio Estevam <festevam at gmail.com>
> ---

Acked-by: Charles Keepax <ckeepax at opensource.cirrus.com>

Thanks,
Charles


More information about the Alsa-devel mailing list