aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mul.c
diff options
context:
space:
mode:
authorHoratiu Vultur <[email protected]>2023-02-06 21:37:20 +0100
committerLinus Walleij <[email protected]>2023-03-06 15:18:07 +0100
commit657fd9da2d4b4aa0a384105b236baa22fa0233bf (patch)
tree8c60c4ed1c960083768c9c87cfae158208ea1b21 /lib/mpi/mpi-mul.c
parent7bb97e360acdd38b68ad0a1defb89c6e89c85596 (diff)
pinctrl: ocelot: Fix alt mode for ocelot
In case the driver was trying to set an alternate mode for gpio 0 or 32 then the mode was not set correctly. The reason is that there is computation error inside the function ocelot_pinmux_set_mux because in this case it was trying to shift to left by -1. Fix this by actually shifting the function bits and not the position. Fixes: 4b36082e2e09 ("pinctrl: ocelot: fix pinmuxing for pins after 31") Signed-off-by: Horatiu Vultur <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions