diff options
Diffstat (limited to 'drivers/core/device-remove.c')
-rw-r--r-- | drivers/core/device-remove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/core/device-remove.c b/drivers/core/device-remove.c index 7e8f3afb2d..7874d53c84 100644 --- a/drivers/core/device-remove.c +++ b/drivers/core/device-remove.c @@ -200,7 +200,7 @@ int device_remove(struct udevice *dev, uint flags) if (!(flags & DM_REMOVE_NO_PD) && !(drv->flags & - (DM_FLAG_DEFAULT_PD_CTRL_OFF | DM_FLAG_REMOVE_WITH_PD_ON)) && + (DM_FLAG_DEFAULT_PD_CTRL_OFF | DM_FLAG_LEAVE_PD_ON)) && dev != gd->cur_serial_dev) dev_power_domain_off(dev); |