diff options
author | Alain Volmat <alain.volmat@st.com> | 2020-09-14 13:40:33 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2020-09-21 12:45:43 +0300 |
commit | 27c90870e7018cd5b93991ca398444a9b0f74113 (patch) | |
tree | fcddd982f3fef22624d2f68b8e5eeeecefe84556 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 8ce98dd21fcfaab3b6177cfc167d6b6b71dc9fc1 (diff) | |
download | linux-27c90870e7018cd5b93991ca398444a9b0f74113.tar.xz |
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 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions