[ patch -mm1 09/11 ] gpio-patchset-fixups:

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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 <[email protected]>

---

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;
}



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux