ASoC: mediatek: mt7986: silence error in case of -EPROBE_DEFER
authorDaniel Golle <daniel@makrotopia.org>
Tue, 12 Dec 2023 23:10:07 +0000 (23:10 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 13 Dec 2023 13:16:38 +0000 (13:16 +0000)
commit6475b8e1821c9d14e60592a74c10d75431500c7c
tree3971af15c982457039cf0bd6096495b4308ba3ab
parent5ed06e489d20dca141047bdb025d885306ea66da
ASoC: mediatek: mt7986: silence error in case of -EPROBE_DEFER

If probe is defered no error should be printed. Use dev_err_probe() to
have it muted.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Maso Huang <maso.huang@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://msgid.link/r/b941a404d97c01ef3e30c49925927b9a7dafeb19.1702422544.git.daniel@makrotopia.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt7986/mt7986-wm8960.c