projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f8435be
)
dmaengine: at_xdmac: add a warning message regarding for unpaused channels
author
Claudiu Beznea
<claudiu.beznea@microchip.com>
Tue, 14 Feb 2023 15:18:26 +0000
(17:18 +0200)
committer
Vinod Koul
<vkoul@kernel.org>
Wed, 12 Apr 2023 17:48:44 +0000
(23:18 +0530)
Add a warning message on suspend to let the user that there are channels
not paused by their consumers.
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link:
https://lore.kernel.org/r/20230214151827.1050280-7-claudiu.beznea@microchip.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/at_xdmac.c
patch
|
blob
|
history
diff --git
a/drivers/dma/at_xdmac.c
b/drivers/dma/at_xdmac.c
index
96f1b69
..
7ff6ca0
100644
(file)
--- a/
drivers/dma/at_xdmac.c
+++ b/
drivers/dma/at_xdmac.c
@@
-2154,6
+2154,8
@@
static int __maybe_unused atmel_xdmac_suspend(struct device *dev)
atchan->save_cc = at_xdmac_chan_read(atchan, AT_XDMAC_CC);
if (at_xdmac_chan_is_cyclic(atchan)) {
if (!at_xdmac_chan_is_paused(atchan)) {
+ dev_warn(chan2dev(chan), "%s: channel %d not paused\n",
+ __func__, chan->chan_id);
at_xdmac_device_pause_internal(atchan);
at_xdmac_runtime_suspend_descriptors(atchan);
}