diff options
author | Wang Ming <machel@vivo.com> | 2023-07-26 13:54:47 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-31 14:44:57 +0300 |
commit | 893aa09ee5959533d8e51e06b1bde35286edaf70 (patch) | |
tree | dd7a5a1b6c47d3998e4adb69219f7e76745fbb10 /Documentation/devicetree/bindings/spi | |
parent | 4ee0feccf2b372134d899a01ee025739f4ddfdca (diff) | |
download | linux-893aa09ee5959533d8e51e06b1bde35286edaf70.tar.xz |
spi: Use dev_err_probe instead of dev_err
It is possible that dma_request_chan will return EPROBE_DEFER,
which means that dev is not ready yet. In this case,
dev_err(dev), there will be no output. This patch fixes the bug.
Signed-off-by: Wang Ming <machel@vivo.com>
Link: https://lore.kernel.org/r/20230726105457.3743-1-machel@vivo.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi')
0 files changed, 0 insertions, 0 deletions