From 013abd89ff35695ab94908629e57d64119cfe88e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Mon, 16 Jun 2025 16:19:09 +0200 Subject: [PATCH] drivers: memc: smartbond: add missing break statement in pm_action MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a missing break statement in the pm_action function to ensure that PM_DEVICE_ACTION_RESUME is not treated as an error. Signed-off-by: Benjamin Cabé --- drivers/memc/memc_smartbond_nor_psram.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/memc/memc_smartbond_nor_psram.c b/drivers/memc/memc_smartbond_nor_psram.c index 2d0ae79e5fa..042a04749b6 100644 --- a/drivers/memc/memc_smartbond_nor_psram.c +++ b/drivers/memc/memc_smartbond_nor_psram.c @@ -220,6 +220,7 @@ static int memc_smartbond_pm_action(const struct device *dev, enum pm_device_act */ memc_set_status(true, DT_INST_PROP_OR(0, clock_div, 0)); memc_automode_configure(); + break; default: return -ENOTSUP; }