diff options
author | Du, ChangbinX <changbinx.du@intel.com> | 2013-12-17 12:47:42 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-12-19 16:27:43 +0100 |
commit | 56b1b909d7afa5e0415363fafec3df0fc34b95c5 (patch) | |
tree | de773e3bf6611f96586308a455397a8dd79073fd /drivers/usb/musb/musb_virthub.c | |
parent | usb: phy: omap: Add omap-control Support for AM437x (diff) | |
download | linux-56b1b909d7afa5e0415363fafec3df0fc34b95c5.tar.xz linux-56b1b909d7afa5e0415363fafec3df0fc34b95c5.zip |
usb: gadget: should use u16 type variable to store MaxPower
From 7e827a0d300e084f74c65122baa5e3193f9a7f18 Mon Sep 17 00:00:00 2001
From: "Du, Changbin" <changbinx.du@intel.com>
Date: Mon, 16 Dec 2013 20:32:13 +0800
Subject: [PATCH] usb/gadget: should use u16 type variable to store MaxPower
The MaxPower field is of u16 type. So using u8 type variable can break
data (high byte lost).
Signed-off-by: Du, Changbin <changbinx.du@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_virthub.c')
0 files changed, 0 insertions, 0 deletions