commit | 1893b2cfad0829f8d93f6d88bd396d353ec024c3 | [log] [tgz] |
---|---|---|
author | Alexander Stein <alexanders83@web.de> | Thu Apr 02 11:55:49 2015 +0200 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed May 06 14:45:18 2015 +0200 |
tree | cf4212a1f8f3621d9a14cd167c30b3c0301db1bb | |
parent | 5ebe6afaf0057ac3eaeb98defd5456894b446d22 [diff] |
pinctrl: at91: Add set_multiple GPIO chip feature This adds the callback for set_multiple. As this controller has a separate set and clear register, we can't write directly to PIO_ODSR as this would required a cached variable and would race with at91_gpio_set. So build masks for the PIO_SODR and PIO_CODR registers and write them together. Signed-off-by: Alexander Stein <alexanders83@web.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>