Quoting Linus Walleij (2019-07-31 15:42:08) > From: Stephen Boyd <swboyd@xxxxxxxxxxxx> > > The recent refactoring to break out OF code to its own file > contained a bug by yours truly letting the need_valid_mask I'm not yours truly :) > be overridden by the need of the device tree range check, > and if there were no ranges, but device tree was active > and the reserved GPIO used in another way, things likely > crash. > > Cc: Mark Brown <broonie@xxxxxxxxxx> > Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx> > Cc: Stephen Boyd <swboyd@xxxxxxxxxxxx> > Reported-by: Mark Brown <broonie@xxxxxxxxxx> > Suggested-by: Stephen Boyd <swboyd@xxxxxxxxxxxx> > Signed-off-by: Stephen Boyd <swboyd@xxxxxxxxxxxx> > Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx> > --- Thanks for taking care of writing up the commit text for me.