public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ patch -mm1 09/11 ] gpio-patchset-fixups:
@ 2006-06-22 18:59 Jim Cromie
  0 siblings, 0 replies; only message in thread
From: Jim Cromie @ 2006-06-22 18:59 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Linux kernel


diff.19-fix-call-init-shadow

Must actually call pc8736x_init_shadow().  Without it, gpio_current() 
may return
wrong values until pin is written once.

Signed-off-by:   Jim Cromie <jim.cromie@gmail.com>

---

diff -ruNp -X dontdiff -X exclude-diffs 17-mm-pre0/drivers/char/pc8736x_gpio.c 19-extern/drivers/char/pc8736x_gpio.c
--- 17-mm-pre0/drivers/char/pc8736x_gpio.c	2006-06-20 20:42:39.000000000 -0600
+++ 19-extern/drivers/char/pc8736x_gpio.c	2006-06-21 09:48:22.000000000 -0600
@@ -311,6 +309,7 @@ static int __init pc8736x_gpio_init(void
 		dev_dbg(&pdev->dev, "got dynamic major %d\n", major);
 	}
 
+	pc8736x_init_shadow();
 	return 0;
 }
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-22 18:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 18:59 [ patch -mm1 09/11 ] gpio-patchset-fixups: Jim Cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox