diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2011-07-29 05:05:45 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-17 13:55:51 -0400 |
commit | 024d78c79eb4ee5395ed8f13233b5b15e3445db3 (patch) | |
tree | 09419af130ed8acba226b52d89b22a4241add4d9 /drivers/usb/class/usbtmc.c | |
parent | d4194efe3582a8e17add88ad1fcf8e2fd00504ce (diff) |
usb/config: use proper endian access for wMaxPacketSize
commit 7de7c7d2cb49900e0b967be871bf695c7d6135c9 upstream.
wMaxPacketSize is __le16 and should be accessed as such. Also fix the
wBytesPerInterval assignment while here.
v2: also fix the wBytesPerInterval assigment, noticed by Matt Evans
This patch should be backported to the 3.0 kernel.
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Acked-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/class/usbtmc.c')
0 files changed, 0 insertions, 0 deletions