summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-davinci.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2014-06-05 14:23:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-17 16:44:57 -0700
commite3d9558082061481af96b588583e0cf220c2943c (patch)
tree07a23191fcf8a7adc7134a64553149436190c600 /drivers/rtc/rtc-davinci.c
parent7171511eaec5bf23fb06078f59784a3a0626b38f (diff)
downloadlinux-e3d9558082061481af96b588583e0cf220c2943c.tar.bz2
usb: fix ->update_hub_device() vs hdev->maxchild
Commit d8521afe3586 "usb: assign default peer ports for root hubs" delayed marking a hub valid (set hdev->maxchild) until it had been fully configured and to enable the publishing of valid hubs to be serialized by usb_port_peer_mutex. However, xhci_update_hub_device() in some cases depends on hdev->maxchild already being set. Do the minimal fix and move it after the setting of hdev->maxchild. Cc: Mathias Nyman <mathias.nyman@linux.intel.com> Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Tested-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/rtc/rtc-davinci.c')
0 files changed, 0 insertions, 0 deletions