Commit 013abd89 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Anas Nashif
Browse files

drivers: memc: smartbond: add missing break statement in pm_action



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: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 380dcdda
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
	}