diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2023-01-30 16:17:47 +0100 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2023-02-16 14:15:48 +0100 |
commit | 255ccd8b16a516209deb4257aa4e89e42a26413a (patch) | |
tree | 0949837486c1894ee8f06b7b1a999343ec6a0a18 /fs/select.c | |
parent | dmaengine: ptdma: check for null desc before calling pt_cmd_callback (diff) | |
download | linux-255ccd8b16a516209deb4257aa4e89e42a26413a.tar.xz linux-255ccd8b16a516209deb4257aa4e89e42a26413a.zip |
dmaengine: dw: Move check for paused channel to dwc_get_residue()
Move check for paused channel to dwc_get_residue() and rename the latter
to dwc_get_residue_and_status().
This improves data integrity as residue and DMA channel status are set
in the same function under the same conditions.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20230130151747.20704-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'fs/select.c')
0 files changed, 0 insertions, 0 deletions