summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/bcma-hcd.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-08-03 21:46:47 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-09 15:59:35 +0200
commita094760b9a77f81ee3cbeff323ee77c928f41106 (patch)
treebb56d7c711598923da6e73c24eb37640a7626681 /drivers/usb/host/bcma-hcd.c
parentcdc-wdm: fix "out-of-sync" due to missing notifications (diff)
downloadlinux-a094760b9a77f81ee3cbeff323ee77c928f41106.tar.xz
linux-a094760b9a77f81ee3cbeff323ee77c928f41106.zip
usb: storage: fix runtime pm issue in usb_stor_probe2
Since commit 71723f95463d "PM / runtime: print error when activating a child to unactive parent" I see the following error message: scsi host2: usb-storage 1-3:1.0 scsi host2: runtime PM trying to activate child device host2 but parent (1-3:1.0) is not active Digging into it it seems to be related to the problem described in the commit message for cd998ded5c12 "i2c: designware: Prevent runtime suspend during adapter registration" as scsi_add_host also calls device_add and after the call to device_add the parent device is suspended. Fix this by using the approach from the mentioned commit and getting the runtime pm reference before calling scsi_add_host. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/bcma-hcd.c')
0 files changed, 0 insertions, 0 deletions