Skip to content
Commit 4139f992 authored by Minjie Du's avatar Minjie Du Committed by Damien Le Moal
Browse files

ata: pata_arasan_cf: Use dev_err_probe() instead dev_err() in data_xfer()



It is possible for dma_request_chan() to return EPROBE_DEFER, which
means acdev->host->dev is not ready yet. At this point dev_err() will
have no output. Use dev_err_probe() instead.

Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: default avatarDamien Le Moal <dlemoal@kernel.org>
parent cec148c2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment