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>
This commit is contained in:
parent
380dcddac8
commit
013abd89ff
1 changed files with 1 additions and 0 deletions
|
@ -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_set_status(true, DT_INST_PROP_OR(0, clock_div, 0));
|
||||||
memc_automode_configure();
|
memc_automode_configure();
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return -ENOTSUP;
|
return -ENOTSUP;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue