dmaengine: qcom: Drop hidma DT support
authorRob Herring (Arm) <robh@kernel.org>
Tue, 23 Apr 2024 16:14:11 +0000 (11:14 -0500)
committerVinod Koul <vkoul@kernel.org>
Thu, 25 Apr 2024 09:01:47 +0000 (14:31 +0530)
commitd100ffe5048ef10065a2dac426d27dc458d9a94a
tree3e8c61f28ce61b5e622f9e6f403ee34aff8b5942
parent98f2233a5c20ca567b2db1147278fd110681b9ed
dmaengine: qcom: Drop hidma DT support

The DT support in hidma has been broken since commit 37fa4905d22a
("dmaengine: qcom_hidma: simplify DT resource parsing") in 2018. The
issue is the of_address_to_resource() calls bail out on success rather
than failure. This driver is for a defunct QCom server platform where
DT use was limited to start with. As it seems no one has noticed the
breakage, just remove the DT support altogether.

Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Link: https://lore.kernel.org/r/20240423161413.481670-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/qcom/hidma.c
drivers/dma/qcom/hidma_mgmt.c