summaryrefslogtreecommitdiff
path: root/drivers/clocksource/em_sti.c
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2021-06-04 08:53:37 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-06-07 10:08:53 +0300
commiteb367d875f94a228c17c8538e3f2efcf2eb07ead (patch)
tree2c0482d101a7c6687dadfb663da1519f121b9f9a /drivers/clocksource/em_sti.c
parent0e4bf265b11a00bde9fef6b791bd8ee2d8059701 (diff)
downloadlinux-eb367d875f94a228c17c8538e3f2efcf2eb07ead.tar.xz
pinctrl: ralink: rt2880: avoid to error in calls is pin is already enabled
In 'rt2880_pmx_group_enable' driver is printing an error and returning -EBUSY if a pin has been already enabled. This begets anoying messages in the caller when this happens like the following: rt2880-pinmux pinctrl: pcie is already enabled mt7621-pci 1e140000.pcie: Error applying setting, reverse things back To avoid this just print the already enabled message in the pinctrl driver and return 0 instead to not confuse the user with a real bad problem. Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com> Link: https://lore.kernel.org/r/20210604055337.20407-1-sergio.paracuellos@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/clocksource/em_sti.c')
0 files changed, 0 insertions, 0 deletions