summaryrefslogtreecommitdiff
path: root/drivers/usb/musb/davinci.h
diff options
context:
space:
mode:
authorHuzefa Kankroliwala <huzefa.nomanx.kankroliwala@intel.com>2013-04-03 16:45:21 +0400
committerJiri Kosina <jkosina@suse.cz>2013-04-04 11:59:32 +0400
commit7c4d577367fb710ea74a56955c5e3546fe5dd7ac (patch)
tree2e30de664d1f64d122a49b19604916f873f3fcdb /drivers/usb/musb/davinci.h
parent83a44ac8bf4a8e6cbbf0c00ff281a482778f708a (diff)
downloadlinux-7c4d577367fb710ea74a56955c5e3546fe5dd7ac.tar.xz
HID: i2c-hid: fix length for set/get report in i2c hid
With the current i2c hid driver set/get report does not work as expected, for e.g sensor hub properties like power state, frequency etc is not set properly on the device as a result we do not get events. The problem is that i2c hid driver in function i2c_hid_request sets length equal to default buffer size for which the sensor hub does not respond on get/set commands. Use report length and calculate it based on report size and id. Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Huzefa Kankroliwala <huzefa.nomanx.kankroliwala@intel.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/usb/musb/davinci.h')
0 files changed, 0 insertions, 0 deletions