Re: [U-Boot] [PATCH 4/4] dm: power-domain: query power domain after get device

2018-07-24 Thread Simon Glass
On 24 July 2018 at 01:45, Peng Fan wrote: > This is to test power_domain_on in device_probe. > If the device has a power-domain property, enable it > when probe the device. So add the test to check > whether it is powered on or not. > > Signed-off-by: Peng Fan > Cc: Simon Glass > --- >

[U-Boot] [PATCH 4/4] dm: power-domain: query power domain after get device

2018-07-24 Thread Peng Fan
This is to test power_domain_on in device_probe. If the device has a power-domain property, enable it when probe the device. So add the test to check whether it is powered on or not. Signed-off-by: Peng Fan Cc: Simon Glass --- test/dm/power-domain.c | 2 ++ 1 file changed, 2 insertions(+)