commit | 198469504ac77ee04fe0f185bd668e1909aaba5f | [log] [tgz] |
---|---|---|
author | Tomasz Figa <tomasz.figa@gmail.com> | Mon Mar 18 22:31:50 2013 +0100 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue Apr 09 09:36:42 2013 +0200 |
tree | ba3530c083d886bbfe4ce4be55b1e10c197ad50f | |
parent | 6a7b3e970426f4bc2a8d52f81a4fda6595a9f052 [diff] |
pinctrl: samsung: Protect bank registers with a spinlock Certain pin control registers can be accessed from different contexts, i.e. pinctrl, gpio and irq functions. This makes the locking provided by pin control core insufficient. This patch adds necessary locking using a per bank spinlock as it was done in the old Samsung GPIO driver. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>