summaryrefslogtreecommitdiffstats
path: root/drivers/clk
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2014-04-26 11:53:44 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-28 00:12:57 +0200
commitc03890ff5e24a4bf59059f2d179f427559b7330a (patch)
tree54bfe6eb18146c6f4f4b47e2dda220cbd3bc7157 /drivers/clk
parentUSB: Avoid runtime suspend loops for HCDs that can't handle suspend/resume (diff)
downloadlinux-c03890ff5e24a4bf59059f2d179f427559b7330a.tar.xz
linux-c03890ff5e24a4bf59059f2d179f427559b7330a.zip
USB: io_ti: fix firmware download on big-endian machines (part 2)
A recent patch that purported to fix firmware download on big-endian machines failed to add the corresponding sparse annotation to the i2c-header. This was reported by the kbuild test robot. Adding the appropriate annotation revealed another endianess bug related to the i2c-header Size-field in a code path that is exercised when the firmware is actually being downloaded (and not just verified and left untouched unless older than the firmware at hand). This patch adds the required sparse annotation to the i2c-header and makes sure that the Size-field is sent in little-endian byte order during firmware download also on big-endian machines. Note that this patch is only compile-tested, but that there is no functional change for little-endian systems. Reported-by: kbuild test robot <fengguang.wu@intel.com> Cc: Ludovic Drolez <ldrolez@debian.org> Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <jhovold@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions