commit | 4dacad61514494f2eba9e60d5b4aa71971dac6a1 | [log] [tgz] |
---|---|---|
author | Vladimir Zapolskiy <vz@mleia.com> | Wed Mar 23 00:51:54 2016 +0200 |
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | Mon Apr 18 12:18:37 2016 +0300 |
tree | d8abfaadaf33b38aea8ad57a13a52443cba91c83 | |
parent | f36fdacc5fcdca7b0c0d89f031fcdc89717e0be3 [diff] |
omapfb: panel-sharp-ls037v7dw01: fix check of gpio_to_desc() return value The change fixes a check of gpio_to_desc() return value, the function returns either a valid pointer to struct gpio_desc or NULL, this makes IS_ERR() check invalid and may lead to a NULL pointer dereference in runtime. Signed-off-by: Vladimir Zapolskiy <vz@mleia.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>