commit | 8b58cc36b11bafb9305db2417eab1eb47a212082 | [log] [tgz] |
---|---|---|
author | Franklin S Cooper Jr <fcooper@ti.com> | Tue Oct 06 15:24:34 2015 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Tue Oct 06 16:38:40 2015 -0700 |
tree | 366000edcc49878287f83c693963eab7823fdbf5 | |
parent | 5b21e3c740b770fb2548a5a8ea66e544d114d0a8 [diff] |
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>