gpio/samsung: Fix incorrect gpio pull up/down callback for EXYNOS4
authorThomas Abraham <thomas.abraham@linaro.org>
Wed, 12 Oct 2011 11:11:17 +0000 (20:11 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 12 Oct 2011 11:53:09 +0000 (20:53 +0900)
commitb82cee243633fbb734de704e38f57c771d7afd73
tree093de4c5c6a9c2dd867fd5263c5d231c22e4a725
parent6700397a8164f58a6637fa26d9fd752aa8cf2fd1
gpio/samsung: Fix incorrect gpio pull up/down callback for EXYNOS4

Some of the gpio chips of exynos4 are assigned a default gpio config without
the exynos4 specific pull up/down callbacks which resulted in incorrect
setting of pull up/down configuration.

Fix this by adding two new exynos4 specific entries in the array of default
configs with set_pull and get_pull callbacks set to exynos4 specific callbacks
The new default gpio configs can then be used for exynos4 gpio chips.

Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
drivers/gpio/gpio-samsung.c