Re: Re: [PATCH] HID: sony: Add force feedback support for Dualshock3 USB
From: <hidden>
Date: 2013-11-17 17:38:46
From: <hidden>
Date: 2013-11-17 17:38:46
So it is a bad choice to use hid_output_raw_report (which calls usb_control_msg) in a ff_memless control function. I will just send a revert patch in some minutes.
Rather than revert, can't we just replace the raw call with 'hid_hw_request()' to send the data? This is what we have in hid-lg4ff: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/hid/hid-lg4ff.c?id=refs/tags/v3.12#n402 Simon