From: Sebastian Andrzej Siewior Date: Fri, 29 Jul 2011 09:05:45 +0000 (+0200) Subject: usb/config: use proper endian access for wMaxPacketSize X-Git-Tag: v3.1-rc2~14^2~21^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7de7c7d2cb49900e0b967be871bf695c7d6135c9;p=pandora-kernel.git usb/config: use proper endian access for wMaxPacketSize 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 Signed-off-by: Sarah Sharp Acked-by: Matt Evans Cc: stable@kernel.org --- Reading git-diff-tree failed