dm: usb: Add a new USB controller operation 'update_hub_device'
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:17 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:35 +0000 (23:34 +0200)
commit9ca1b4bab10d8b3a5dbbbd98df46ce75159222b8
treef3aade735155e1f61308f6844d4ee0e1e7142c47
parent5624dfd5aa91c244519ec60b40b4a42b4d9a43ca
dm: usb: Add a new USB controller operation 'update_hub_device'

For USB host controllers like xHC, its internal representation of
hub needs to be updated after the hub descriptor is fetched. This
adds a new op that does this.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/usb-uclass.c
include/usb.h