pinctrl: actions: fix missing break in PIN_CONFIG_DRIVE_STRENGTH case.
authorColin Ian King <colin.king@canonical.com>
Mon, 30 Apr 2018 13:22:59 +0000 (14:22 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 2 May 2018 12:36:31 +0000 (14:36 +0200)
commit882518debc8487147d618d5f26f4bb0bea1cc05b
tree3a60446321263502e0547e1724f543ce4b2ae7f3
parent07ef798ff1d1904cb287a928c93efc72eebf0fff
pinctrl: actions: fix missing break in PIN_CONFIG_DRIVE_STRENGTH case.

There is a missing break in case PIN_CONFIG_DRIVE_STRENGTH leading to
a fall-through to the PIN_CONFIG_SLEW_RATE case that performs different
checks against *arg. This looks like an unintentional missing break so
add in the break.

Detected by CoverityScan, CID#14684561468459 ("Missing break in switch")

Fixes: 513d7a2f7e0f ("pinctrl: actions: Add Actions S900 pinctrl driver")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/actions/pinctrl-owl.c