diff options
author | Franklin S Cooper Jr <fcooper@ti.com> | 2015-10-07 00:24:34 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2015-10-07 01:38:40 +0200 |
commit | 8b58cc36b11bafb9305db2417eab1eb47a212082 (patch) | |
tree | 366000edcc49878287f83c693963eab7823fdbf5 /block/genhd.c | |
parent | Input: joydev - fix possible ERR_PTR() dereferencing (diff) | |
download | linux-8b58cc36b11bafb9305db2417eab1eb47a212082.tar.xz linux-8b58cc36b11bafb9305db2417eab1eb47a212082.zip |
Input: edt-ft5x06 - do not call desc_to_gpio for invalid gpios
Since reset and wake pin are optional the gpio structure for those
pins may be null. Therefore, they can't be blindly passed to
desc_to_gpio.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions