Make sure to check the number of endpoints to avoid dereferencing a
NULL-pointer should a malicious device lack endpoints.
Fixes: bba5394ad3 ("Input: add support for Hanwang tablets")
Signed-off-by: Johan Hovold <[email protected]>
Cc: [email protected] # 2.6.37
Signed-off-by: Dmitry Torokhov <[email protected]>
None of these files are actually using any __init type directives
and hence don't need to include <linux/init.h>. Most are just a
left over from __devinit and __cpuinit removal, or simply due to
code getting copied from one driver to the next.
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
This change adds support for old Hanwang Art master II tablet
Signed-off-by: weixing <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
This adds support for hanwang Art Master HD 5012 electromagnetic tablet.
Signed-off-by: Xing Wei <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Add necessary events so that Hanwang Art Master III tablet can be handled
by the stock xf86-input-wacom driver.
Signed-off-by: Xing Wei <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>