From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [RFC 2/2] Revert "dm: core: device: switch off power domain after device removal"
Date: Fri, 14 Feb 2020 11:14:13 +0100 [thread overview]
Message-ID: <20200214111413.4c2417c2@crub> (raw)
In-Reply-To: <20200214110154.72e0eef0@crub>
On Fri, 14 Feb 2020 11:01:54 +0100
Anatolij Gustschin agust at denx.de wrote:
...
> My original patch v3 had this additional condition for power domain off:
>
> (device_get_uclass_id(dev) != UCLASS_POWER_DOMAIN)
The debug log generated without the above condition:
device_remove: OFF 'clk', uclass pd 0
device_remove: OFF 'gpioledsgrp', uclass pd 0
device_remove: OFF 'lpi2c0grp', uclass pd 0
device_remove: OFF 'lpi2c1grp', uclass pd 0
device_remove: OFF 'lpuart2grp', uclass pd 0
device_remove: OFF 'usdhc1grp', uclass pd 0
device_remove: OFF 'fec2grp', uclass pd 0
device_remove: OFF 'imx8qxp-som', uclass pd 0
device_remove: OFF 'iomuxc', uclass pd 0
device_remove: OFF 'mu at 5d1c0000', uclass pd 0
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
device_remove: OFF 'lsio_gpio0', uclass pd 1
...
Here it is stuck in an endless recursion for lsio_gpio0 device remove.
--
Anatolij
next prev parent reply other threads:[~2020-02-14 10:14 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-03 13:59 [PATCH v2] imx: support for conga-QMX8 board Oliver Graute
2020-02-03 13:59 ` [RFC 1/2] hack to boot with 2020.01 Oliver Graute
2020-02-03 17:15 ` Simon Glass
2020-02-04 17:07 ` Tom Rini
2020-02-05 8:48 ` Oliver Graute
2020-02-03 13:59 ` [RFC 2/2] Revert "dm: core: device: switch off power domain after device removal" Oliver Graute
2020-02-13 17:12 ` Neil Armstrong
2020-02-14 4:20 ` Lokesh Vutla
2020-02-14 9:18 ` Oliver Graute
2020-02-14 9:30 ` Lokesh Vutla
2020-02-14 10:30 ` Oliver Graute
2020-02-14 10:01 ` Anatolij Gustschin
2020-02-14 10:14 ` Anatolij Gustschin [this message]
2020-02-14 10:22 ` Lokesh Vutla
2020-02-14 10:50 ` Oliver Graute
2020-02-17 8:55 ` Neil Armstrong
2020-02-17 13:17 ` Anatolij Gustschin
2020-02-17 13:05 ` Anatolij Gustschin
2020-02-17 13:37 ` Lokesh Vutla
2020-05-04 7:40 ` [PATCH v2] imx: support for conga-QMX8 board Stefano Babic
2020-05-04 14:25 ` Oliver Graute
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=20200214111413.4c2417c2@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