]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
omap gpio: minor bugfixes
authorDavid Brownell <dbrownell@users.sourceforge.net>
Fri, 7 Nov 2008 22:40:18 +0000 (14:40 -0800)
committerTony Lindgren <tony@atomide.com>
Thu, 13 Nov 2008 21:54:29 +0000 (13:54 -0800)
commit94822d9f62667cadbfcdb00dfa2d0a0fa37c8779
tree9dd0cbafb9526005015a51a9aa6949a7b50aa0db
parentf08b1f969bfd892e99d95ffc402aeb3b2c8515a6
omap gpio: minor 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