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.

Input: cyapa - 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/20251027115823.391080-3-sakari.ailus@linux.intel.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Sakari Ailus and committed by
Dmitry Torokhov
c5150ffc 7f9d1e0c

-4
-3
drivers/input/mouse/cyapa.c
··· 403 403 } 404 404 405 405 pm_runtime_get_sync(dev); 406 - pm_runtime_mark_last_busy(dev); 407 406 pm_runtime_put_sync_autosuspend(dev); 408 407 out: 409 408 mutex_unlock(&cyapa->state_sync_lock); ··· 665 666 pm_runtime_enable(dev); 666 667 667 668 pm_runtime_get_sync(dev); 668 - pm_runtime_mark_last_busy(dev); 669 669 pm_runtime_put_sync_autosuspend(dev); 670 670 } 671 671 ··· 708 710 * process. 709 711 */ 710 712 pm_runtime_get_sync(dev); 711 - pm_runtime_mark_last_busy(dev); 712 713 pm_runtime_put_sync_autosuspend(dev); 713 714 } 714 715
-1
drivers/input/mouse/cyapa_gen5.c
··· 2833 2833 * process. 2834 2834 */ 2835 2835 pm_runtime_get_sync(dev); 2836 - pm_runtime_mark_last_busy(dev); 2837 2836 pm_runtime_put_sync_autosuspend(dev); 2838 2837 return 0; 2839 2838 } else if (report_id != PIP_TOUCH_REPORT_ID &&