From 43451b06a89594037b4a69da045a7b48348d7354 Mon Sep 17 00:00:00 2001 From: Isaac Hermida Date: Tue, 19 Nov 2024 11:08:09 +0100 Subject: [PATCH] cc9: standby: do not disable bluetooth on suspend if power is on If the power domain is kept on in suspend, do not disable the Bluetooth as no new initialization is needed. Signed-off-by: Isaac Hermida --- .../recipes-core/busybox/busybox/ccimx9/standby-actions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-core/busybox/busybox/ccimx9/standby-actions b/meta-digi-dey/recipes-core/busybox/busybox/ccimx9/standby-actions index 52c113885..aa4eb7576 100644 --- a/meta-digi-dey/recipes-core/busybox/busybox/ccimx9/standby-actions +++ b/meta-digi-dey/recipes-core/busybox/busybox/ccimx9/standby-actions @@ -24,7 +24,7 @@ wifi_actions_needed() { } bt_actions_needed() { - systemctl -q is-active bluetooth-init + systemctl -q is-active bluetooth-init && [ ! -e "/sys/firmware/devicetree/base/soc@0/bus@42800000/mmc@428b0000/keep-power-in-suspend" ] } if [ "${1}" = "pre" ]; then