commit | 6cad56fd884b7eb85ae193c94b688fe76680fcbf | [log] [tgz] |
---|---|---|
author | Jim Cromie <jim.cromie@gmail.com> | Tue Jun 27 02:54:24 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Tue Jun 27 17:32:43 2006 -0700 |
tree | 41f8abbc17063604501a529290c66059638fe2f7 | |
parent | f31000e573da052b6b8bcc21faff520b4e2eda7a [diff] |
[PATCH] chardev: GPIO for SCx200 & PC-8736x: fix gpio_current, use shadow regs Add a working gpio_current() to pc8736x_gpio.c (the previous implementation just threw a dev_warn), and fix gpio_change() to use gpio_current() rather than the incorrect (and temporary) gpio_get(). Initialize shadow-regs so this all works. Signed-off-by: Jim Cromie <jim.cromie@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>