summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAlain Volmat <alain.volmat@st.com>2020-09-14 12:40:33 +0200
committerWolfram Sang <wsa@kernel.org>2020-09-21 11:45:43 +0200
commit27c90870e7018cd5b93991ca398444a9b0f74113 (patch)
treefcddd982f3fef22624d2f68b8e5eeeecefe84556 /lib/mpi/mpiutil.c
parent8ce98dd21fcfaab3b6177cfc167d6b6b71dc9fc1 (diff)
i2c: stm32: fix error message on upon dma_request_chan & defer handling
DMA usage is optional for the I2C driver. check for the -ENODEV error in order to avoid displaying an error when no DMA has been requested. Cleaning up the error messages during probe, remove the additional -EPROBE_DEFER within probe function since additional error message doesn't give much more information than what is already reported within the stm32_i2c_dma_request function. Signed-off-by: Alain Volmat <alain.volmat@st.com> Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions