usb: Wait after sending Set Configuration request
authorMarek Vasut <marex@denx.de>
Wed, 27 Apr 2016 01:08:12 +0000 (03:08 +0200)
committerMarek Vasut <marex@denx.de>
Fri, 6 May 2016 18:06:56 +0000 (20:06 +0200)
commitf647bf0ba36a5236d4bc7f93d39bfacfb1cfe6c7
tree46fad17b63b065cf8783459a355d9aeded71d9c7
parent2f1b4302e352800b8b651a300281a7fae67cdf80
usb: Wait after sending Set Configuration request

Some devices, like the SanDisk Cruzer Pop need some time to process
the Set Configuration request, so wait a little until they are ready.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Stephen Warren <swarren@nvidia.com>
common/usb.c