ASoC: fsl_micfil: drop error messages from failed register accesses
authorSascha Hauer <s.hauer@pengutronix.de>
Thu, 14 Apr 2022 16:22:35 +0000 (18:22 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 19 Apr 2022 11:06:16 +0000 (12:06 +0100)
commit2c602c7ef9ef08835f2e3e0c438d10b7142d6959
treee80810f5484103c8464e8c13d90c0379480e201c
parentd46c2127ae8e10378213f71abe4fe88adb17549c
ASoC: fsl_micfil: drop error messages from failed register accesses

Failed register accesses are really not expected in memory mapped
registers. When it fails then the register access itself is likely not
the reason, so no need to have extra error messages for each regmap
access. Just drop the error messages. This also fixes some places where
a return value is concatenated using 'ret |=' and then returned as
error value.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20220414162249.3934543-8-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_micfil.c