]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: minor gpio bugfixes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 11 Dec 2008 01:35:27 +0000 (17:35 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Dec 2008 01:35:27 +0000 (17:35 -0800)
commite031ab23deb5a5d9ac5744e69a0627823e81b074
tree333b33349da9ca3493bf80df6bdcce79b09503cd
parent3ff164e15574191c69e8406794b0578c8d2a4e23
ARM: OMAP: minor gpio bugfixes

Minor GPIO fixes:

 - If get_gpio_bank() fails, then BUG() out.

 - In omap_set_gpio_debounce():
    * protect the read/modify/write with the relevant spinlock
    * make the omap3 clock ops pass "sparse" checking

Except for the spinlock problem, these were reported through "make".

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c