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.

slimbus: qcom-ngd-ctrl: Reduce auto suspend delay

Currently we have auto suspend delay of 1s which is
very high and it takes long time to driver for runtime
suspend after use case is done.

Hence to optimize runtime PM ops, reduce auto suspend
delay to 100ms.

Signed-off-by: Viken Dadhaniya <quic_vdadhani@quicinc.com>
Acked-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20240430091657.35428-2-srinivas.kandagatla@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Viken Dadhaniya and committed by
Greg Kroah-Hartman
4286dbce 2a1ad6b7

+1 -2
+1 -2
drivers/slimbus/qcom-ngd-ctrl.c
··· 81 81 #define SLIM_USR_MC_DISCONNECT_PORT 0x2E 82 82 #define SLIM_USR_MC_REPEAT_CHANGE_VALUE 0x0 83 83 84 - #define QCOM_SLIM_NGD_AUTOSUSPEND MSEC_PER_SEC 85 84 #define SLIM_RX_MSGQ_TIMEOUT_VAL 0x10000 86 85 87 86 #define SLIM_LA_MGR 0xFF ··· 1570 1571 1571 1572 platform_set_drvdata(pdev, ctrl); 1572 1573 pm_runtime_use_autosuspend(dev); 1573 - pm_runtime_set_autosuspend_delay(dev, QCOM_SLIM_NGD_AUTOSUSPEND); 1574 + pm_runtime_set_autosuspend_delay(dev, 100); 1574 1575 pm_runtime_set_suspended(dev); 1575 1576 pm_runtime_enable(dev); 1576 1577 pm_runtime_get_noresume(dev);