From: Du, ChangbinX Date: Tue, 17 Dec 2013 11:47:42 +0000 (+0000) Subject: usb: gadget: should use u16 type variable to store MaxPower X-Git-Tag: v3.14-rc1~148^2~90^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56b1b909d7afa5e0415363fafec3df0fc34b95c5;p=pandora-kernel.git usb: gadget: should use u16 type variable to store MaxPower From 7e827a0d300e084f74c65122baa5e3193f9a7f18 Mon Sep 17 00:00:00 2001 From: "Du, Changbin" 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 Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed