X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fhid%2Fhid-lgff.c;h=61142b76a9b19fe90826dfda870d7717d7f36f4b;hb=4e3eaddd142e2142c048c5052a0a9d2604fccfc6;hp=56099709581cc689ec88210672ca30a7982cf833;hpb=4c0bccbe66ffe34f7bc88d29c345f9a7888656eb;p=mv-sheeva.git diff --git a/drivers/hid/hid-lgff.c b/drivers/hid/hid-lgff.c index 56099709581..61142b76a9b 100644 --- a/drivers/hid/hid-lgff.c +++ b/drivers/hid/hid-lgff.c @@ -67,6 +67,8 @@ static const struct dev_type devices[] = { { 0x046d, 0xc219, ff_rumble }, { 0x046d, 0xc283, ff_joystick }, { 0x046d, 0xc286, ff_joystick_ac }, + { 0x046d, 0xc287, ff_joystick_ac }, + { 0x046d, 0xc293, ff_joystick }, { 0x046d, 0xc294, ff_wheel }, { 0x046d, 0xc295, ff_joystick }, { 0x046d, 0xca03, ff_wheel }, @@ -150,11 +152,6 @@ int lgff_init(struct hid_device* hid) /* Check that the report looks ok */ report = list_entry(report_list->next, struct hid_report, list); - if (!report) { - err_hid("NULL output report"); - return -1; - } - field = report->field[0]; if (!field) { err_hid("NULL field");