summaryrefslogtreecommitdiffstats
path: root/drivers/bcma
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2015-12-21 01:44:04 +0100
committerLinus Walleij <linus.walleij@linaro.org>2015-12-22 13:50:37 +0100
commit53653c6b91750debba6dc4503003c851257fd340 (patch)
tree44efdc22762373e4cc6c05cb618e7013bbc470e4 /drivers/bcma
parentpinctrl: mediatek: add missing of_node_put (diff)
downloadlinux-53653c6b91750debba6dc4503003c851257fd340.tar.xz
linux-53653c6b91750debba6dc4503003c851257fd340.zip
pinctrl: bcm2835: Fix memory leak in error path
In case of an invalid pin value bcm2835_pctl_dt_node_to_map() would leak the pull configs of already assigned pins. So avoid this by calling the free map function in error case. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Fixes: e1b2dc70cd5b ("pinctrl: add bcm2835 driver") Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/bcma')
0 files changed, 0 insertions, 0 deletions