commit | 69edbba0021a48fe034849501513930f6175cb5d | [log] [tgz] |
---|---|---|
author | Magnus Damm <damm@igel.co.jp> | Thu Dec 25 18:17:34 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Tue Jan 27 14:49:10 2009 +0900 |
tree | 51499128883b2e84bce5dcaa78e6e943c37eeb40 | |
parent | 3292094e88ce6b76714dad8ec4b43d7c5c12ada2 [diff] |
sh: use gpiolib This patch updates the SuperH gpio code to make use of gpiolib. The gpiolib callbacks get() and set() are lockless, but we use our own spinlock for the other operations to make sure hardware register bitfield accesses stay atomic. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>