From: Jim Cromie Date: Tue, 27 Jun 2006 09:54:24 +0000 (-0700) Subject: [PATCH] chardev: GPIO for SCx200 & PC-8736x: fix gpio_current, use shadow regs X-Git-Tag: v2.6.18-rc1~521 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6cad56fd884b7eb85ae193c94b688fe76680fcbf;p=pandora-kernel.git [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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed