[U-Boot] [PATCH v2 1/2] dm: core: device: switch off power domain after device removal
Anatolij Gustschin
agust at denx.de
Wed Jul 31 13:13:24 UTC 2019
Hi Lokesh,
On Tue, 23 Jul 2019 19:35:43 +0530
Lokesh Vutla lokeshvutla at ti.com wrote:
...
> > + if (CONFIG_IS_ENABLED(POWER_DOMAIN) && dev->parent &&
> > + device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN &&
> > + !(dev->flags & DM_FLAG_REMOVE_WITH_PD_ON)) {
>
> This is going to hit every board and all serial drivers needs to be updated. Can
> we add an extra check here for (dev != gd->cur_serial_dev).
Will do it in v3 patch, thanks!
--
Anatolij
More information about the U-Boot
mailing list