]> git.baikalelectronics.ru Git - kernel.git/commit
gpio-pch: modify gpio_nums and mask
authorTomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Thu, 21 Jul 2011 00:19:57 +0000 (09:19 +0900)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 5 Oct 2011 17:59:17 +0000 (11:59 -0600)
commit1f61d388a4b2cece6b437a3b264f0dc5000fac2d
tree4d6e0f7f6552ea3071f7c4a2897e534c58a38ea9
parent609ef332738ca60b013b604910aede1723cdd936
gpio-pch: modify gpio_nums and mask

Currently, the number of GPIO pins is set fixed value(=12).
Also PIN MASK is set as '0xfff'.
However the pins differs by IOH.
This patch sets the value correctly.

Signed-off-by: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pch.c