From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/2] dm: core: device: switch off power domain after device removal
Date: Sun, 14 Jul 2019 18:44:10 +0200 [thread overview]
Message-ID: <20190714184410.38263e8e@crub> (raw)
In-Reply-To: <CAPnjgZ3M4TdDzfG44VV3P4JisCb9XAj_6pU-BYBHrKQZ=OTyBw@mail.gmail.com>
Hi Simon,
On Fri, 12 Jul 2019 15:05:06 -0600
Simon Glass sjg at chromium.org wrote:
...
> >
> > + if (dev->parent && device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN &&
>
> Putting my code-size hat on, what do you think about adding an
> IF_ENABLED(POWER_DOMAIN) as the first arg?
Good point, I'll add it in v2 patch.
Thanks,
Anatolij
prev parent reply other threads:[~2019-07-14 16:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-10 14:09 [U-Boot] [PATCH 1/2] dm: core: device: switch off power domain after device removal Anatolij Gustschin
2019-07-10 14:09 ` [U-Boot] [PATCH 2/2] serial: lpuart: request dm device removal when booting OS Anatolij Gustschin
2019-07-12 21:05 ` [U-Boot] [PATCH 1/2] dm: core: device: switch off power domain after device removal Simon Glass
2019-07-14 16:44 ` Anatolij Gustschin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190714184410.38263e8e@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox