summaryrefslogtreecommitdiff
path: root/drivers/input/tablet/wacom_wac.c
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2013-08-14 21:23:51 (GMT)
committerBryan Wu <cooloney@gmail.com>2013-08-27 00:22:14 (GMT)
commit8a6acd648c1dfdc82f1bbcd15f7777962054c268 (patch)
tree6fede8ad80ec6b4c0a33c5db6e77f45af5d8702d /drivers/input/tablet/wacom_wac.c
parent56a1740c21e4396164265c3ec80e29990ddcdc36 (diff)
downloadlinux-8a6acd648c1dfdc82f1bbcd15f7777962054c268.tar.xz
leds-pca963x: Fix device tree parsing
A malformed device tree could lead into a segmentation fault if the reg value of a led is bigger than the number of leds. A valid device tree could have only information about the last led of the chip. Fix the device tree parsing to handle those cases. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.c')
0 files changed, 0 insertions, 0 deletions