Skip to content

Commit 013abd8

Browse files
kartbennashif
authored andcommitted
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: Benjamin Cabé <benjamin@zephyrproject.org>
1 parent 380dcdd commit 013abd8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/memc/memc_smartbond_nor_psram.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,7 @@ static int memc_smartbond_pm_action(const struct device *dev, enum pm_device_act
220220
*/
221221
memc_set_status(true, DT_INST_PROP_OR(0, clock_div, 0));
222222
memc_automode_configure();
223+
break;
223224
default:
224225
return -ENOTSUP;
225226
}

0 commit comments

Comments
 (0)