From: Sebastian Andrzej Siewior Date: Thu, 6 Sep 2012 18:11:21 +0000 (+0200) Subject: usb: gadget: make sure each gadget is using same index for Product, Serial,… X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~73^2~141^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=276e2e4f1f3e07a0ad891bf757dbcfd655ff5f91;p=pandora-kernel.git usb: gadget: make sure each gadget is using same index for Product, Serial,… The index in usb_string array is defined by the gadget. The gadget can choose which index entry it assigns for the serial number and which the product name. The gadget has just to ensure that the descriptor contains the proper string id which is assigned by composite. If the composite layer knows the index of the "default" information which will be overwritten by module parameters, it can be used later to overwrite it. Acked-by: Michal Nazarewicz Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed