commit | bc329ad7b018c8f6725cb025bf4d192925db84e6 | [log] [tgz] |
---|---|---|
author | Haojian Zhuang <haojian.zhuang@marvell.com> | Mon Feb 06 15:33:22 2012 +0800 |
committer | Haojian Zhuang <haojian.zhuang@marvell.com> | Thu Feb 16 10:28:53 2012 +0800 |
tree | 3d3f21c5bc464f48f13beedc6617880428e50288 | |
parent | c38e23456278e967f094b08247ffc3711b1029b2 [diff] |
ARM: pxa: fix wrong parsing gpio event on spitz (~GPLR0 & GPIO_bit(SPITZ_GPIO_KEY_INT)) | (GPLR0 & GPIO_bit(SPITZ_GPIO_SYNC)); After using gpio_get_value, the statement should be in below. ((!gpio_get_value(SPITZ_GPIO_KEY_INT) << GPIO_bit(SPITZ_GPIO_KEY_INT)) | gpio_get_value(SPITZ_GPIO_SYNC)); Signed-off-by: Haojian Zhuang <haojian.zhuang@marvell.com>