pinctrl: core: Hold pctldev->mutex mutex lock while traversing gpio_ranges list
authorAxel Lin <axel.lin@ingics.com>
Sun, 18 Aug 2013 12:40:29 +0000 (20:40 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 23 Aug 2013 06:56:28 +0000 (08:56 +0200)
commit5ffbe2e613873222474a0f575296187002a8995d
tree6322c9986f795f846f549d5b4f8bc10483f11273
parentf0059021084137b4ffd2ffc7ee4b62a895c4c84a
pinctrl: core: Hold pctldev->mutex mutex lock while traversing gpio_ranges list

Hold pctldev->mutex mutex_lock when traverse the list.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c