Input: gpio_event: Don't call gpio_cansleep before gpio_request.
authorArve Hjønnevåg <arve@android.com>
Fri, 2 Apr 2010 02:52:27 +0000 (19:52 -0700)
committerDan Willemsen <dwillemsen@nvidia.com>
Thu, 1 Dec 2011 05:38:19 +0000 (21:38 -0800)
commit88b6f69d91dc18d6000a6bf95ba4f4bc5803eeed
tree79434d24598b63475e2137d657fd453eede57457
parent3e1a170fc31f1847aa90dde5ddd298d111ffaeac
Input: gpio_event: Don't call gpio_cansleep before gpio_request.

If the gpio did not exist it would crash in gpiolib.

Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/misc/gpio_matrix.c