gpio/exynos4: Fix incorrect mapping of gpio pull-up macro to register setting
authorThomas Abraham <thomas.ab@samsung.com>
Tue, 7 Jun 2011 08:34:49 +0000 (14:04 +0530)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 7 Jun 2011 17:10:01 +0000 (11:10 -0600)
commit0bf8fa04e80a562641f687547053f98670f25cf9
tree9bb78234e96f89c9ba8b7577d5e7c9ef87862835
parent27721a52d6c8e33327ec3cae9f730204be99d251
gpio/exynos4: Fix incorrect mapping of gpio pull-up macro to register setting

The S3C_GPIO_PULL_UP macro value incorrectly maps to a reserved setting of GPIO
pull up/down registers on Exynos4 platform. Fix this incorrect mapping by adding
wrappers to the s3c_gpio_setpull_updown and s3c_gpio_getpull_updown functions.

Signed-off-by: Thomas Abraham <thomas.ab@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-exynos4.c