usb: Update device class in usb device's descriptor
authorVivek Gautam <gautam.vivek@samsung.com>
Fri, 12 Apr 2013 11:04:36 +0000 (16:34 +0530)
committerMarek Vasut <marex@denx.de>
Sun, 5 May 2013 21:54:22 +0000 (23:54 +0200)
commit99c3491b78cc2a5e58f77da32c913f11fd16103f
treecd5dc5ea9d03e40b18ca8437d96ebfb561bf90c5
parent020bbcb76b5be0d5406d2ae7c26dbdb013ead812
usb: Update device class in usb device's descriptor

Fetch the device class into usb device's dwcriptors,
so that the host controller's driver can use this info
to differentiate between HUB and DEVICE.

Signed-off-by: Amar <amarendra.xt@samsung.com>
common/usb.c