summaryrefslogtreecommitdiff
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2024-12-12 18:14:12 +0530
committerVinod Koul <vkoul@kernel.org>2024-12-24 15:49:30 +0530
commitebc008699fd95701c9af5ebaeb0793eef81a71d5 (patch)
tree43aca9b65c1a48fb89f452c963c800068a6dfd1d /drivers/iio/adc
parent362f1bf98a3ecb5a2a4fcbdaa9718c8403beceb2 (diff)
downloadlwn-ebc008699fd95701c9af5ebaeb0793eef81a71d5.tar.gz
lwn-ebc008699fd95701c9af5ebaeb0793eef81a71d5.zip
dmaengine: tegra: Return correct DMA status when paused
Currently, the driver does not return the correct DMA status when a DMA pause is issued by the client drivers. This causes GPCDMA users to assume that DMA is still running, while in reality, the DMA is paused. Return DMA_PAUSED for tx_status() if the channel is paused in the middle of a transfer. Fixes: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver") Cc: stable@vger.kernel.org Signed-off-by: Akhil R <akhilrajeev@nvidia.com> Signed-off-by: Kartik Rajput <kkartik@nvidia.com> Link: https://lore.kernel.org/r/20241212124412.5650-1-kkartik@nvidia.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/iio/adc')
0 files changed, 0 insertions, 0 deletions