dm: power-domain: query power domain after get device
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 <peng.fan@nxp.com> Reviewed-by:
Simon Glass <sjg@chromium.org>
Loading
Please register or sign in to comment