aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/hub.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-30usb: Fix regression caused by invalid ep0 maxpacket in virtual SuperSpeed deviceAlan Stern1-2/+3
2024-03-26USB: core: Add hub_get() and hub_put() routinesAlan Stern1-7/+16
2024-02-04Merge 6.8-rc3 into usb-nextGreg Kroah-Hartman1-14/+32
2024-01-27usb: core: add phy notify connect and disconnectStanley Chang1-0/+29
2024-01-27USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORTOliver Neukum1-11/+19
2024-01-27usb: core: Prevent null pointer dereference in update_port_device_stateUdipto Goswami1-3/+13
2023-12-06usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hubHardik Gajjar1-0/+29
2023-12-06usb: hub: Replace hardcoded quirk value with BIT() macroHardik Gajjar1-2/+2
2023-11-27Merge 6.7-rc3 into usb-nextGreg Kroah-Hartman1-23/+0
2023-11-23usb: new quirk to reduce the SET_ADDRESS request timeoutHardik Gajjar1-2/+13
2023-11-23usb: xhci: Add timeout argument in address_device USB HCD callbackHardik Gajjar1-1/+1
2023-11-06Revert "usb: phy: add usb phy notify port status API"Johan Hovold1-23/+0
2023-10-16usb: Inform the USB Type-C class about enumerated devicesHeikki Krogerus1-0/+4
2023-10-02usb: hub: Guard against accesses to uninitialized BOS descriptorsRicardo CaƱuelo1-3/+22
2023-08-12USB: core: Fix oversight in SuperSpeed initializationAlan Stern1-12/+24
2023-08-09USB: Remove remnants of Wireless USB and UWBAlan Stern1-110/+45
2023-08-08USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()Alan Stern1-44/+70
2023-08-08USB: core: Change usb_get_device_descriptor() APIAlan Stern1-21/+23
2023-08-08USB: core: Unite old scheme and new scheme descriptor readsAlan Stern1-79/+94
2023-07-26usb: phy: add usb phy notify port status APIStanley Chang1-0/+23
2023-06-13usb: core: add sysfs entry for usb device stateRoy Luo1-0/+15
2023-01-31USB: core: Don't hold device lock while reading the "descriptors" sysfs fileAlan Stern1-3/+2
2023-01-17usb: core: hub: disable autosuspend for TI TUSB8041Flavio Suligoi1-0/+13
2022-11-08usb: core: stop USB enumeration if too many retriesRay Chi1-0/+60
2022-09-05USB: core: Fix RST error in hub.cAlan Stern1-1/+1
2022-08-30USB: core: Prevent nested device-reset callsAlan Stern1-0/+10
2022-07-08usb: core: hub: Create platform devices for onboard hubs in hub_probe()Matthias Kaehlcke1-1/+8
2022-06-12usb: Avoid extra usb SET_SEL requests when enabling link power managementMathias Nyman1-39/+21
2022-06-12usb: hub: port: add sysfs entry to switch port powerMichael Grzeschik1-19/+20
2022-05-19usb: hub: Simplify error and success path in port_over_current_notifyBhuvanesh Surachari1-5/+3
2022-04-23usb: remove third argument of usb_maxpacket()Vincent Mailhol1-1/+1
2022-02-17usb: remove Link Powermanagement (LPM) disable before port reset.Mathias Nyman1-12/+1
2022-01-26usb: core: Bail out when port is stuck in reset loopKai-Heng Feng1-2/+6
2022-01-03USB: core: Fix bug in resuming hub's handling of wakeup requestsAlan Stern1-1/+1
2021-12-17usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0Kai-Heng Feng1-1/+4
2021-12-17usb: hub: make wait_for_connected() take an int instead of a pointer to intDan Carpenter1-3/+3
2021-12-15usb: hub: avoid warm port reset during USB3 disconnectMathias Nyman1-5/+19
2021-11-23usb: hub: Fix locking issues with address0_mutexMathias Nyman1-8/+12
2021-11-17usb: hub: Fix usb enumeration issue due to address0 raceMathias Nyman1-3/+11
2021-07-21usb: hub: Disable USB 3 device initiated lpm if exit latency is too highMathias Nyman1-12/+56
2021-07-21usb: hub: Fix link power management max exit latency (MEL) calculationsMathias Nyman1-24/+28
2021-06-21Merge tag 'v5.13-rc7' into usb-nextGreg Kroah-Hartman1-0/+7
2021-06-17usb: core: hub: Disable autosuspend for Cypress CY7C65632Andrew Lunn1-0/+7
2021-05-27driver core: Move the "removable" attribute from USB to coreRajat Jain1-6/+7
2021-05-21USB: Verify the port status when timeout happens during port suspendChris Chiu1-0/+21
2021-05-13usb: core: hub: fix race condition about TRSMRCY of resumeChunfeng Yun1-3/+3
2021-04-09usb: core: hub: Fix PM reference leak in usb_port_resume()Bixuan Cui1-1/+1
2021-03-23usb: core: hub: Print speed name based on ssp rateThinh Nguyen1-3/+7
2021-03-23usb: core: hub: Remove port_speed_is_ssp()Thinh Nguyen1-30/+1
2021-03-23usb: core: Track SuperSpeed Plus GenXxYThinh Nguyen1-0/+78
2020-10-28usb: core: Replace in_interrupt() in commentsAhmed S. Darwish1-1/+2
2020-10-02USB: hub: Add Kconfig option to reduce number of port initialization retriesAlan Stern1-1/+12
2020-10-02USB: hub: Clean up use of port initialization schemes and retriesAlan Stern1-23/+26
2020-09-25Revert "USB: core: hub.c: use usb_control_msg_send() in a few places"Oliver Neukum1-40/+59
2020-09-16USB: core: hub.c: use usb_control_msg_send() in a few placesGreg Kroah-Hartman1-59/+40
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-10usb: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-06-19USB: OTG: rename product list of devicesGreg Kroah-Hartman1-2/+2
2020-06-19USB: rename USB OTG hub configuration optionGreg Kroah-Hartman1-1/+1
2020-05-18Merge 5.7-rc6 into usb-nextGreg Kroah-Hartman1-1/+5
2020-05-15usb: core: hub: limit HUB_QUIRK_DISABLE_AUTOSUSPEND to USB5534BEugeniu Rosca1-1/+5
2020-04-28usb: core: hub: use true,false for bool variableJason Yan1-1/+1
2020-04-23USB: hub: Revert commit bd0e6c9614b9 ("usb: hub: try old enumeration scheme f...Alan Stern1-3/+1
2020-04-23USB: hub: Fix handling of connect changes during sleepAlan Stern1-0/+14
2020-03-04usb: core: hub: do error out if usb_autopm_get_interface() failsEugeniu Rosca1-1/+5
2020-03-04usb: core: hub: fix unhandled return by employing a void functionEugeniu Rosca1-1/+1
2020-02-10USB: hub: Don't record a connect-change event during reset-resumeAlan Stern1-5/+0
2020-02-10USB: hub: Fix the broken detection of USB3 device in SMSC hubHardik Gajjar1-0/+15
2020-01-15usb: core: hub: Improved device recognition on remote wakeupKeiya Nobuta1-0/+1
2020-01-08usb: missing parentheses in USE_NEW_SCHEMEQi Zhou1-1/+1
2019-12-04usb, kcov: collect coverage from hub_eventAndrey Konovalov1-0/+5
2019-11-07usb: Allow USB device to be warm reset in suspended stateKai-Heng Feng1-3/+2
2019-10-10usb: hub: Check device descriptor before resusciationDavid Heinzelmann1-85/+111
2019-07-03usb: Handle USB3 remote wakeup for LPM enabled devices correctlyLee, Chiasheng1-2/+5
2019-06-20USB: core: correct a spelling mistake in the commentHarry Pan1-1/+1
2019-06-05usb: Add devaddr in struct usb_deviceJim Lin1-1/+3
2019-05-21usb: core: hub: Disable hub-initiated U1/U2Thinh Nguyen1-12/+16
2019-05-21usb: core: hub: Enable/disable U1/U2 in configured stateThinh Nguyen1-2/+2
2019-05-03Merge tag 'usb-for-v5.2' of git://git.kernel.org/pub/scm/linux/kernel/git/bal...Greg Kroah-Hartman1-3/+4
2019-05-03USB: Export usb_wakeup_enabled_descendants()Douglas Anderson1-3/+4
2019-04-17USB: core: Don't unbind interfaces following device reset failureAlan Stern1-1/+4
2019-04-16USB: hub: Remove returned value 'status' since never usedMathieu Malaterre1-7/+6
2019-02-08usb: handle warm-reset port requests on hub resumeJan-Marek Glogowski1-0/+7
2019-01-18USB: Consolidate LPM checks to avoid enabling LPM twiceKai-Heng Feng1-8/+4
2019-01-18USB: Add new USB LPM helpersKai-Heng Feng1-6/+6
2019-01-18usb: hub: add retry routine after intr URB submit errorNicolas Saenz Julienne1-6/+37
2018-12-10Merge 4.20-rc6 into usb-nextGreg Kroah-Hartman1-2/+3
2018-12-05USB: check usb_get_extra_descriptor for proper sizeMathias Payer1-1/+1
2018-12-05USB: Fix invalid-free bug in port_over_current_notify()Alan Stern1-1/+2
2018-12-05usb: hub: delay hub autosuspend if USB3 port is still link trainingMathias Nyman1-0/+10
2018-11-14usb: core: Fix hub port connection events lostDennis Wassenberg1-1/+3
2018-11-07USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hubKai-Heng Feng1-3/+11
2018-10-09usb: core: fix memory leak on port_dev_path allocationColin Ian King1-1/+3
2018-10-02usb: hub: try old enumeration scheme first for high speed devicesZeng Tao1-1/+3
2018-09-28usb: core: added uevent for over-currentJon Flatley1-0/+36
2018-07-30Merge 4.18-rc7 into usb-nextGreg Kroah-Hartman1-2/+6
2018-07-21usb: core: handle hub C_PORT_OVER_CURRENT conditionBin Liu1-2/+6
2018-06-25USB: Report wakeup events on root-hub portsAlan Stern1-0/+42
2018-06-12treewide: kzalloc() -> kcalloc()Kees Cook1-1/+1
2018-05-31usb: hub: Per-port setting to reduce TRSTRCY to 10 msNicolas Boichat1-1/+5
2018-05-31usb: hub: Per-port setting to use old enumeration schemeNicolas Boichat1-4/+9
2018-04-30Merge 4.17-rc3 into usb-nextGreg Kroah-Hartman1-1/+9
2018-04-25usb: do not reset if a low-speed or full-speed device timed outMaxim Moseychuk1-1/+3
2018-04-22USB: show USB 3.2 Dual-lane devices as Gen Xx2 during device enumerationMathias Nyman1-2/+5
2018-04-22USB: Add support to store lane count used by USB 3.2Mathias Nyman1-0/+8
2018-04-22usb: hub: Don't wait for connect state at resume for powered-off portsDominik Bozek1-0/+4
2018-04-22USB: Increment wakeup count on remote wakeup.Ravi Chandra Sadineni1-1/+9
2018-03-25USB: announce bcdDevice as well as idVendor, idProduct.Benson Leung1-2/+6
2018-03-23usb: hub: Reduce warning to notice on power lossTomeu Vizoso1-1/+1
2018-03-22usb: core: introduce per-port over-current countersRichard Leitner1-1/+3
2018-03-09usb: Don't disable Latency tolerance Messaging (LTM) before port resetMathias Nyman1-9/+3
2017-12-18Merge 4.15-rc4 into usb-nextGreg Kroah-Hartman1-0/+9
2017-12-15usb: core: add support for USB_REQ_SET_ISOCH_DELAYFelipe Balbi1-0/+30
2017-12-06usb: core: Fix logging messages with spurious periods after newlinesJoe Perches1-10/+7
2017-11-28usb: hub: Cycle HUB power when initialization failsMike Looijmans1-0/+9
2017-11-07usb: core: introduce a new usb_get_std_status() helperFelipe Balbi1-4/+4
2017-11-03USB: core: move existing SPDX tags to top of the fileGreg Kroah-Hartman1-1/+1
2017-10-23Merge 4.14-rc6 into usb-nextGreg Kroah-Hartman1-4/+7
2017-10-23USB: Force disconnect Huawei 4G modem during suspendDaniel Drake1-0/+13
2017-10-19usb: hub: Allow reset retry for USB2 devices on connect bounceMathias Nyman1-4/+7
2017-09-18usb: Increase quirk delay for USB devicesDmitry Fleytman1-1/+1
2017-08-16usb: Increase root hub reset signaling time to prevent retryMathias Nyman1-1/+1
2017-08-14Merge 4.13-rc5 into usb-nextGreg Kroah-Hartman1-4/+6
2017-08-10USB: Check for dropped connection before switching to full speedAlan Stern1-4/+6
2017-07-22usb: core: hub: controller driver name may be NULLPeter Chen1-2/+15
2017-06-29USB hub_probe: rework ugly goto-into-compound-statementEugene Korenevsky1-17/+21
2017-06-15usb: Avoid unnecessary LPM enabling and disabling during suspend and resumeMathias Nyman1-11/+2
2017-05-17USB: hub: fix SS max number of portsJohan Hovold1-1/+7
2017-05-17USB: hub: fix non-SS hub-descriptor handlingJohan Hovold1-4/+9
2017-05-17USB: hub: fix SS hub-descriptor handlingJohan Hovold1-2/+6
2017-03-27Merge 4.11-rc4 into usb-nextGreg Kroah-Hartman1-1/+1
2017-03-23usb: hub: Do not attempt to autosuspend disconnected devicesGuenter Roeck1-0/+6
2017-03-23usb: hub: Fix error loop seen after hub communication errorsGuenter Roeck1-1/+4
2017-03-17usb: hub: Fix crash after failure to read BOS descriptorGuenter Roeck1-1/+1
2017-03-02sched/headers: Prepare to move the memalloc_noio_*() APIs to <linux/sched/mm.h>Ingo Molnar1-1/+1
2017-01-05usb: hub: Move hub_port_disable() to fix warning if PM is disabledGeert Uytterhoeven1-30/+29
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-05usb: hub: Wait for connection to be reestablished after port resetGuenter Roeck1-2/+9
2016-11-17usb: hub: Fix auto-remount of safely removed or ejected USB-3 devicesMathias Nyman1-65/+36
2016-10-29USB: core: add missing license information to some filesGreg Kroah-Hartman1-0/+2
2016-09-27usb: hub: change CLEAR_FEATURE to SET_FEATUREYonglong Wu1-1/+1
2016-08-30usb: core: hub: don't print on ENOMEMWolfram Sang1-6/+3
2016-08-09USB: hub: change the locking in hub_activateAlan Stern1-3/+3
2016-08-09USB: hub: fix up early-exit pathway in hub_activateAlan Stern1-9/+6
2016-08-09usb: hub: Fix unbalanced reference count/memory leak/deadlocksViresh Kumar1-2/+0
2016-04-28usb: core: hub: hub_port_init lock controller instead of busChris Bainbridge1-4/+4
2016-04-26hub: admit devices are SS+Oliver Neukum1-0/+2
2016-03-03usb: hub: fix a typo in hub_port_init() leading to wrong logicOliver Neukum1-5/+5
2016-03-01Merge 4.5-rc6 into usb-nextGreg Kroah-Hartman1-5/+3
2016-02-20Revert "usb: hub: do not clear BOS field during reset device"Greg Kroah-Hartman1-5/+3
2016-02-14usb: retry reset if a device times outOliver Neukum1-1/+7
2016-02-09drivers: usb: removed assignment of 0 to static variablesSaurabh Sengar1-2/+2
2016-02-06usb: core: rename mutex usb_bus_list_lock to usb_bus_idr_lockHeiner Kallweit1-2/+2
2016-02-01Merge 4.5-rc2 into usb-nextGreg Kroah-Hartman1-3/+5
2016-01-24usb: hub: do not clear BOS field during reset deviceDu, Changbin1-3/+5
2016-01-24USB: core, wusbcore: use bus_to_hcdGeliang Tang1-1/+1
2016-01-24usb: Support USB 3.1 extended port status requestMathias Nyman1-9/+61
2016-01-24usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devicesMathias Nyman1-11/+15
2015-12-21Merge 4.4-rc6 into usb-nextGreg Kroah-Hartman1-3/+19
2015-12-18USB: fix invalid memory access in hub_activate()Alan Stern1-3/+19
2015-12-13Merge 4.4-rc5 into usb-next as we want those fixes here for testingGreg Kroah-Hartman1-8/+14
2015-12-11USB: add quirk for devices with broken LPMAlan Stern1-1/+6
2015-12-04usb: Add connected retry on resume for non SS devicesAl Cooper1-6/+10
2015-12-01usb: core: lpm: add sysfs node for usb3 lpm permitLu Baolu1-2/+13
2015-12-01usb: core: lpm: fix usb3_hardware_lpm sysfs nodeLu Baolu1-9/+30
2015-12-01usb: core : hub: Fix BOS 'NULL pointer' kernel panicHans Yang1-7/+8
2015-10-04usb: otg: don't set a_alt_hnp_support feature for OTG 2.0 deviceLi Jun1-29/+39
2015-10-04usb: hub: remove redundant declarationsKris Borer1-2/+1
2015-10-04usb: core: hub: Removed some warnings generated by checkpatch.plChase Metzger1-8/+8
2015-08-14usb: core: hub: Removed some warnings generated by checkpatch.plChase Metzger1-12/+12
2015-08-14usb: hub: remove assignment from if conditionKris Borer1-2/+2
2015-08-08usb: core: hub.c: Removed some warnings generated by checkpatch.plChase Metzger1-20/+20
2015-07-27Merge 4.2-rc4 into usb-nextGreg Kroah-Hartman1-1/+1
2015-07-22usbcore: add sysfs support to xHCI usb3 hardware LPMKevin Strasser1-0/+4
2015-07-22usb: core: lpm: set lpm_capable for root hub deviceLu Baolu1-1/+1
2015-05-31usb: core: Fix USB 3.0 devices lost in NOTATTACHED state after a hub port resetRobert Schlabbach1-49/+33
2015-05-10USB: hub.c: move assignment out of if () blockGreg Kroah-Hartman1-1/+2
2015-05-08usb: Enable LPM for USB 2.01+ full-speed devicesRupesh Tatiya1-1/+1
2015-05-08usb: Set unused ports to "fixed" rather than "unknown"Matthew Garrett1-0/+3
2015-05-08usb: Prefer firmware values when determining whether a port is removableMatthew Garrett1-15/+17
2015-04-07usb: core: hub: use new USB_RESUME_TIMEOUTFelipe Balbi1-2/+2
2015-02-15Merge tag 'usb-3.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-46/+36
2015-02-08USB / PM: Remove unneeded #ifdef and associated dead codeAndreas Ruprecht1-12/+0
2015-02-03usb: Retry port status check on resume to work around RH bugsJulius Werner1-3/+12
2015-02-03Revert "usb: Reset USB-3 devices on USB-3 link bounce"Zhuang Jin Can1-25/+9
2015-01-25usb: core: hub: modify hub reset logic in hub driverDeepak Das1-2/+6
2015-01-25USB: don't cancel queued resets when unbinding driversAlan Stern1-16/+9
2014-12-14Merge tag 'usb-3.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-10/+8
2014-12-04USB / PM: Drop CONFIG_PM_RUNTIME from the USB coreRafael J. Wysocki1-3/+3
2014-11-10Merge 3.18-rc4 into usb-next.Greg Kroah-Hartman1-5/+5
2014-11-03usb: core: notify disconnection when core detects disconnectPeter Chen1-2/+1
2014-11-03usb: core: need to call usb_phy_notify_connect after device setupTony Zheng1-3/+4
2014-11-03usb: hub: remove unused variableSudip Mukherjee1-5/+0
2014-11-03usb: Do not re-read descriptors for wired devices in usb_authorize_device()Josef Gajdusek1-5/+8
2014-09-29usb: rename phy to usb_phy in HCDAntoine Tenart1-4/+4
2014-09-29usb: core: return -ENOTSUPP for all targeted hostsPeter Chen1-2/+3
2014-09-23usb: hub: allow to process more usb hub events in parallelPetr Mladek1-5/+4
2014-09-23usb: hub: rename khubd to hub_wq in documentation and commentsPetr Mladek1-22/+22
2014-09-23usb: hub: rename usb_kick_khubd() to usb_kick_hub_wq()Petr Mladek1-1/+1
2014-09-23usb: hub: convert khubd into workqueuePetr Mladek1-83/+60