Re: [PATCH] hid: add force feedback support for SmartJoy PLUS PS2/USB adapter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag, 8. Mai 2009 09:46:36 schrieb Jussi Kivilinna:> +static int sj_probe(struct hid_device *hdev, const struct hid_device_id> *id) +{> +       int ret;> +> +       ret = hid_parse(hdev);> +       if (ret) {> +               dev_err(&hdev->dev, "parse failed\n");> +               goto err;> +       }> +> +       ret = hid_hw_start(hdev, HID_CONNECT_DEFAULT & ~HID_CONNECT_FF);> +       if (ret) {> +               dev_err(&hdev->dev, "hw start failed\n");> +               goto err;> +       }> +> +       sjoyff_init(hdev);
Do you really want to ignore errors this returns?
	Regards		Oliver
��.n��������+%������w��{.n�����{���)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux