Commit d14b5f19 authored by Stefan Wahren's avatar Stefan Wahren Committed by zhaoxiaoqiang11
Browse files

i2c: mxs: suppress probe-deferral error message

stable inclusion
from stable-v5.10.168
commit 4e66ba3cfb4fd353bac7f6675f7a9a51386e7a4b
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I7URR4

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=4e66ba3cfb4fd353bac7f6675f7a9a51386e7a4b



----------------------------------------------------

[ Upstream commit 78a4471f ]

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: default avatarStefan Wahren <stefan.wahren@i2se.com>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarzhaoxiaoqiang11 <zhaoxiaoqiang11@jd.com>
parent 9b639b6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment