]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: qcom-geni: Use dev_err_probe() for GPI DMA error
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 12 Apr 2022 21:26:01 +0000 (14:26 -0700)
committerWolfram Sang <wsa@kernel.org>
Fri, 15 Apr 2022 21:19:42 +0000 (23:19 +0200)
commit9af21ba40760b9df9b3d70853c66371077cb7689
tree363207149d6a7faa1286c20217f5c7eebeb0c0a8
parentf0a1fdd39b849b724af28346f3cf1087746c8320
i2c: qcom-geni: Use dev_err_probe() for GPI DMA error

The GPI DMA engine driver can be compiled as a module, in which case the
likely probe deferral "error" shows up in the kernel log. Switch to
using dev_err_probe() to silence this warning and to ensure that
"devices_deferred" in debugfs carries this information.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-qcom-geni.c