On Mon, Nov 5, 2018 at 3:08 PM 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> > --- > v4->v5: > * refine gpio clk get > * add remove This looks good but doesn't apply to the GPIO "devel" branch for some reason: $ git am --signoff dong1.patch Applying: gpio: vf610: add optional clock support error: patch failed: drivers/gpio/gpio-vf610.c:16 error: drivers/gpio/gpio-vf610.c: patch does not apply Patch failed at 0001 gpio: vf610: add optional clock support Use 'git am --show-current-patch' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". $ patch -p1 < dong1.patch patching file drivers/gpio/gpio-vf610.c Hunk #1 succeeded at 7 with fuzz 2 (offset -9 lines). Hunk #2 FAILED at 42. patch: **** malformed patch at line 136: ev) Can you check and rebase/resend? Yours, Linus Walleij