summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_key.c
diff options
context:
space:
mode:
authorEunki Kim <eunki_kim@samsung.com>2012-10-23 22:39:33 +0900
committerKukjin Kim <kgene.kim@samsung.com>2012-10-23 22:39:33 +0900
commit453e2dd768de8aa82ee503f1d45395149aa357d6 (patch)
tree7772efb06f4ef05a34e648350718f2cebf4b6ea7 /net/mac80211/debugfs_key.c
parent6f0c0580b70c89094b3422ba81118c7b959c7556 (diff)
downloadblackbird-op-linux-453e2dd768de8aa82ee503f1d45395149aa357d6.tar.gz
blackbird-op-linux-453e2dd768de8aa82ee503f1d45395149aa357d6.zip
ARM: SAMSUNG: Insert bitmap_gpio_int member in samsung_gpio_chip
When a device uses GPIO interrupt, its driver assumes that GPIO should be INPUT mode. However, GPIO of SAMSUNG SoC is sepated to INPUT mode and INTERRUPT mode. They are set by 0x0 and 0xF in GPIO control register. If the register is set to INPUT mode, the interrupt never occur. Therefore, it's necessary to set INTERRUPT mode instead of INPUT mode when the pin is used for GPIO interrupt. This patch inserts the bitmap_gpio_int member in struct samsung_ gpio_chip in order to represent use of GPIO interrupt for each pin and sets the related bit when s5p_register_gpio_interrupt function is called. Signed-off-by: Eunki Kim <eunki_kim@samsung.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'net/mac80211/debugfs_key.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud