]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: mxs: suppress probe-deferral error message
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 7 Jan 2023 12:32:29 +0000 (13:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2023 10:28:12 +0000 (11:28 +0100)
commitcde24e8f1a02350980bc70411679434b3623119b
treea8ff46d28121a15872d9ceac5759dc3896d4ba50
parent600d6968b0a41d9d2d0d4d763cf21e266faef816
i2c: mxs: suppress probe-deferral error message

[ Upstream commit 78a4471fa1a76a8bef4919105de67660a89a1e9b ]

During boot of I2SE Duckbill the kernel log contains a
confusing error:

  Failed to request dma

This is caused by i2c-mxs tries to request a not yet available DMA
channel (-EPROBE_DEFER). So suppress this message by using
dev_err_probe().

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/i2c/busses/i2c-mxs.c