On Wed, 23 Mar 2022 at 12:26, Sean Anderson <sean...@gmail.com> wrote: > > If dev_count_phandle_with_args returns 0 or another error, then pd will never > have been initialized by power_domain_get_by_index. Avoid comparing against > pd.dev in this situation. > > Fixes: 3e4fcfa4bc ("power-domain: fix hang in endless loop on i.MX8") > Signed-off-by: Sean Anderson <sean...@gmail.com> > --- > > drivers/power/domain/power-domain-uclass.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <s...@chromium.org>