Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

dmaengine: ti: Remove redundant pm_runtime_mark_last_busy() calls

pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(),
pm_runtime_autosuspend() and pm_request_autosuspend() now include a call
to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to
pm_runtime_mark_last_busy().

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Link: https://patch.msgid.link/20251027133232.392898-5-sakari.ailus@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Sakari Ailus and committed by
Vinod Koul
35d522a9 01f2bcf0

-5
-5
drivers/dma/ti/cppi41.c
··· 390 390 if (!c->is_tx) 391 391 cppi_writel(c->q_num, c->gcr_reg + RXHPCRA0); 392 392 393 - pm_runtime_mark_last_busy(cdd->ddev.dev); 394 393 pm_runtime_put_autosuspend(cdd->ddev.dev); 395 394 396 395 return 0; ··· 410 411 411 412 WARN_ON(!list_empty(&cdd->pending)); 412 413 413 - pm_runtime_mark_last_busy(cdd->ddev.dev); 414 414 pm_runtime_put_autosuspend(cdd->ddev.dev); 415 415 } 416 416 ··· 507 509 cppi41_run_queue(cdd); 508 510 spin_unlock_irqrestore(&cdd->lock, flags); 509 511 510 - pm_runtime_mark_last_busy(cdd->ddev.dev); 511 512 pm_runtime_put_autosuspend(cdd->ddev.dev); 512 513 } 513 514 ··· 624 627 txd = &c->txd; 625 628 626 629 err_out_not_ready: 627 - pm_runtime_mark_last_busy(cdd->ddev.dev); 628 630 pm_runtime_put_autosuspend(cdd->ddev.dev); 629 631 630 632 return txd; ··· 1135 1139 if (ret) 1136 1140 goto err_of; 1137 1141 1138 - pm_runtime_mark_last_busy(dev); 1139 1142 pm_runtime_put_autosuspend(dev); 1140 1143 1141 1144 return 0;