> -----Original Message----- > From: Linus Walleij [mailto:linus.walleij@xxxxxxxxxx] > Sent: Friday, November 2, 2018 5:37 PM [...] > On Fri, Nov 2, 2018 at 10:12 AM A.s. Dong <aisheng.dong@xxxxxxx> wrote: > > > Some SoCs need the gpio clock to be enabled before accessing HW > > registers. This patch add the optional clock handling. > > > > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx> > > Cc: Stefan Agner <stefan@xxxxxxxx> > > Cc: Shawn Guo <shawnguo@xxxxxxxxxx> > > Cc: linux-gpio@xxxxxxxxxxxxxxx > > Signed-off-by: Dong Aisheng <aisheng.dong@xxxxxxx> > > --- > > v2->v3: > > * error checking updated according to Russell's suggestion: > > ptr == ERR_PTR(-EPROBE_DEFER) > > * clock independently checking > > Please look at my feedback for v2 as well, sorry for the synchronization > problems here... Didn't see this version until after replying. > Thanks for the suggestion. I just sent an updated version in reply to this thread. Please help check if it's okay to you. Regards Dong Aisheng > Yours, > Linus Walleij