aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/driver.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-27usb: usb_autopm_get_interface use modern helperOliver Neukum1-6/+2
2024-01-04USB: core: Use device_driver directly in struct usb_driver and usb_device_driverYajun Deng1-28/+31
2023-12-04usb: core: Don't force USB generic_subclass drivers to define probe()Douglas Anderson1-1/+4
2023-03-23USB: mark all struct bus_type as constGreg Kroah-Hartman1-1/+1
2023-01-27driver core: make struct bus_type.uevent() take a const *Greg Kroah-Hartman1-3/+3
2022-07-27usb/core: fix repeated words in commentsJilin Yuan1-1/+1
2022-04-23USB: core: Disable remote wakeup for freeze/quiesceEvan Green1-12/+13
2021-12-17usb: core: Export usb_device_match_idRazvan Heghedus1-0/+1
2021-12-05usb: core: Fix file path that does not existWei Ming Chen1-1/+1
2021-03-23USB: core: rename usb_driver_claim_interface() data parameterJohan Hovold1-3/+3
2021-03-23USB: core: drop outdated interface-binding commentJohan Hovold1-4/+0
2020-10-28usbcore: Check both id_table and match() when both availableBastien Nocera1-9/+21
2020-10-05Merge 5.9-rc8 into usb-nextGreg Kroah-Hartman1-16/+34
2020-09-25usbcore/driver: Accommodate usbipM. Vefa Bicakci1-6/+31
2020-09-25usbcore/driver: Fix incorrect downcastM. Vefa Bicakci1-9/+2
2020-09-25usbcore/driver: Fix specific driver selectionM. Vefa Bicakci1-1/+1
2020-09-04usb: core: driver: fix stray tabs in error messagesSergey Shtylyov1-5/+3
2020-08-18USB: Fix device driver raceBastien Nocera1-2/+38
2020-02-12USB: Fallback to generic driver when specific driver failsBastien Nocera1-1/+4
2020-02-12USB: Select better matching USB drivers when availableBastien Nocera1-2/+13
2020-02-12USB: Implement usb_device_match_id()Bastien Nocera1-0/+14
2020-02-12USB: Make it possible to "subclass" usb_device_driverBastien Nocera1-5/+21
2019-08-07USB: add support for dev_groups to struct usb_device_driverGreg Kroah-Hartman1-0/+1
2019-08-07USB: add support for dev_groups to struct usb_driverGreg Kroah-Hartman1-0/+1
2019-04-19USB: core: Fix bug caused by duplicate interface PM usage counterAlan Stern1-13/+0
2019-01-18USB: Consolidate LPM checks to avoid enabling LPM twiceKai-Heng Feng1-3/+8
2019-01-18USB: Add new USB LPM helpersKai-Heng Feng1-1/+11
2018-10-09USB: core: remove set but not used variable 'udev'YueHaibing1-3/+0
2018-09-20USB: fix error handling in usb_driver_claim_interface()Alan Stern1-0/+15
2018-09-20USB: remove LPM management from usb_driver_claim_interface()Alan Stern1-15/+0
2018-05-31driver core: hold dev's parent lock when neededMartin Liu1-0/+1
2017-12-07usb: Don't print a warning if interface driver rebind is deferred at resumeMathias Nyman1-1/+1
2017-12-06usb: core: Fix logging messages with spurious periods after newlinesJoe Perches1-4/+4
2017-11-07usb: core: introduce a new usb_get_std_status() helperFelipe Balbi1-2/+2
2017-11-03USB: core: move existing SPDX tags to top of the fileGreg Kroah-Hartman1-1/+1
2017-10-23USB: Force disconnect Huawei 4G modem during suspendDaniel Drake1-1/+9
2017-03-23usb: hub: Do not attempt to autosuspend disconnected devicesGuenter Roeck1-0/+3
2017-03-23usb: hub: Fix error loop seen after hub communication errorsGuenter Roeck1-0/+18
2016-10-29USB: core: add missing license information to some filesGreg Kroah-Hartman1-0/+3
2016-05-03USB: leave LPM alone if possible when binding/unbinding interface driversAlan Stern1-17/+23
2016-03-18USB: usb_driver_claim_interface: add sanity checkingOliver Neukum1-1/+5
2015-10-04usb: core: driver: Use kmalloc_arrayMuhammad Falak R Wani1-4/+2
2015-09-22usb: interface authorization: Control interface probing and claimingStefan Koch1-0/+8
2015-08-18Revert "usb: interface authorization: Control interface probing and claiming"Greg Kroah-Hartman1-8/+0
2015-08-14usb: interface authorization: Control interface probing and claimingStefan Koch1-0/+8
2015-07-22usb: fix coding style issueKris Borer1-0/+1
2015-01-31USB: add flag for HCDs that can't receive wakeup requests (isp1760-hcd)Alan Stern1-0/+12
2015-01-25USB: don't cancel queued resets when unbinding driversAlan Stern1-17/+0
2014-12-04USB / PM: Drop CONFIG_PM_RUNTIME from the USB coreRafael J. Wysocki1-5/+1
2014-07-17USB: shutdown all URBs after controller deathAlan Stern1-3/+4
2014-05-24USB: Avoid runtime suspend loops for HCDs that can't handle suspend/resumeAlan Stern1-3/+6
2014-03-17USB: unbind all interfaces before rebinding anyAlan Stern1-38/+56
2014-03-04usb-core: Free bulk streams on interface releaseHans de Goede1-1/+22
2014-02-18Merge 3.14-rc3 into usb-nextGreg Kroah-Hartman1-7/+17
2014-02-07usb: core: let dynamic ids override static idsBjørn Mork1-2/+2
2014-02-05usb: core: Fix potential memory leak adding dyn USBdevice IDsChristian Engelmayer1-7/+17
2014-01-13usb: core: check for valid id_table when using the RefId featureWolfram Sang1-0/+3
2014-01-12usb: core: bail out if user gives an unknown RefId when using new_idWolfram Sang1-3/+6
2014-01-10usb: core: allow a reference device for new_idWolfram Sang1-3/+15
2014-01-10usb: core: add sanity checks when using bInterfaceClass with new_idWolfram Sang1-1/+4
2013-12-03usb: core: Remove superfluous name castsGeert Uytterhoeven1-2/+2
2013-10-19USB: change dev_warn about missing reset-resume to dev_dbgAlan Stern1-2/+2
2013-10-16usb: Don't enable USB 2.0 Link PM by default.Sarah Sharp1-0/+3
2013-08-23USB: core: use DRIVER_ATTR_RW()Greg Kroah-Hartman1-15/+13
2013-08-03usb: fix some scripts/kernel-doc warningsYacine Belkadi1-2/+20
2013-06-03PM / Runtime: Rework the "runtime idle" helper routineRafael J. Wysocki1-1/+2
2013-04-01USB: driver.c: processing failure, maching resume condition with suspend cond...Chen Gang1-4/+6
2013-03-28USB: remove CONFIG_USB_SUSPEND optionAlan Stern1-2/+2
2013-03-25USB: adds comment on suspend callbackMing Lei1-3/+8
2012-12-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds1-1/+1
2012-11-21usb-core: remove CONFIG_HOTPLUG ifdefsBill Pemberton1-25/+0
2012-11-19treewide: fix typo of "suport" in various comments and KconfigMasanari Iida1-1/+1
2012-10-08USB: Enable LPM after a failed probe.Sarah Sharp1-0/+4
2012-09-17usb: remove junk from store_remove_idAlan Cox1-8/+3
2012-07-19usb: Add quirk detection based on interface informationLaurent Pinchart1-15/+23
2012-06-13usb-core: Set intfdata to NULL if a driver's probe method failedHans de Goede1-0/+1
2012-06-13USB: allow match on bInterfaceNumberBjørn Mork1-2/+7
2012-05-18USB: Disable USB 3.0 LPM in critical sections.Sarah Sharp1-1/+53
2012-05-14USB: add read support to usb-serial/../new_idBjørn Mork1-3/+10
2012-05-14USB: let both new_id and remove_id show dynamic id listBjørn Mork1-2/+19
2012-04-29USB: remove CONFIG_USB_DEVICEFSGreg Kroah-Hartman1-19/+2
2012-04-09USB: don't ignore suspend errors for root hubsAlan Stern1-2/+7
2012-03-20Merge tag 'usb-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbLinus Torvalds1-42/+78
2012-01-26USB/PCI/PCMCIA: Clean up new_id and remove_id sysfs attribute routinesAlan Stern1-41/+20
2012-01-24Dynamic ID addition doesn't need get_driver()Alan Stern1-4/+1
2012-01-24USB: cleanup the handling of the PM complete callOliver Neukum1-17/+20
2012-01-24USB: code cleanup in suspend/resume path (3rd try)Oliver Neukum1-30/+63
2012-01-03USB: remove dead code from suspend/resume pathOliver Neukum1-21/+7
2011-11-15USB: Add optional match for interface class to dynamic ID facilityJosua Dietze1-1/+7
2011-11-06Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
2011-11-04USB: Update last_busy time after autosuspend failsAlan Stern1-0/+5
2011-10-31usb: Add export.h for EXPORT_SYMBOL/THIS_MODULE where neededPaul Gortmaker1-0/+1
2011-10-25Merge branch 'pm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-5/+4
2011-09-26xHCI: set USB2 hardware LPMAndiry Xu1-0/+14
2011-09-09USB: for usb_autopm_get_interface_async -EINPROGRESS is not an errorJim Wylder1-1/+1
2011-08-19PM / Runtime: Add macro to test for runtime PM eventsAlan Stern1-5/+4
2011-06-28Merge branch 'usb-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-1/+10
2011-06-21PM: Rename dev_pm_info.in_suspend to is_preparedAlan Stern1-3/+3
2011-06-15USB: don't let errors prevent system sleepAlan Stern1-1/+10
2011-03-18USB: Move runtime PM callbacks to usb_device_pm_opsRafael J. Wysocki1-12/+3
2011-03-13usb: Always return 0 or -EBUSY to the runtime PM core.Sarah Sharp1-0/+5
2011-01-10Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/raf...Linus Torvalds1-4/+3
2010-12-24PM: Replace the device power.status field with a bit fieldRafael J. Wysocki1-4/+3
2010-11-16USB: improve uses of usb_mark_last_busyAlan Stern1-7/+1
2010-11-16USB: use the runtime-PM autosuspend implementationAlan Stern1-72/+5
2010-11-16USB: make usb_mark_last_busy use pm_runtime_mark_last_busyMing Lei1-12/+11
2010-11-16USB: use the no_callbacks flag for interfacesMing Lei1-53/+29
2010-10-22USB: do not print -ESHUTDOWN message if usb at otg device modePeter Chen1-1/+1
2010-08-10USB: remove fake "address-of" expressionsAlan Stern1-4/+2
2010-08-10USB: core driver: Fix Coding Stylescsanchez@neurowork.net1-4/+3
2010-06-30USB: obey the sysfs power/wakeup settingAlan Stern1-10/+3
2010-06-04USB: unbind all interfaces before rebinding themAlan Stern1-0/+2
2010-05-20USB: fix interface runtime-PM settingsAlan Stern1-6/+11
2010-05-20USB: use PM core routines to enable/disable autosuspendAlan Stern1-16/+5
2010-05-20USB: improve runtime remote wakeup settingsAlan Stern1-11/+8
2010-05-20USB: make hcd.h public (drivers dependency)Eric Lescouet1-1/+2
2010-04-22USB: put claimed interfaces in the "suspended" stateAlan Stern1-6/+7
2010-04-22USB: fix remote wakeup settings during system sleepAlan Stern1-1/+35
2010-03-30include cleanup: Update gfp.h and slab.h includes to prepare for breaking imp...Tejun Heo1-0/+1
2010-03-07Driver core: create lock/unlock functions for struct deviceGreg Kroah-Hartman1-2/+2
2010-03-02USB: remove debugging message for uevent constructionsAlan Stern1-3/+1
2010-03-02USB: convert to the runtime PM frameworkAlan Stern1-477/+368
2010-03-02USB: rearrange functions in driver.cAlan Stern1-103/+103
2010-03-02USB: implement usb_enable_autosuspendAlan Stern1-0/+42
2010-03-02USB: change locking for device-level autosuspendAlan Stern1-4/+4
2010-03-02USB: rearrange code in usb_probe_interfaceAlan Stern1-32/+31
2010-02-26USB: implement non-tree resume ordering constraints for PCI host controllersAlan Stern1-0/+8
2009-12-11USB: add remove_id sysfs attr for usb driversCHENG Renquan1-9/+91
2009-12-11USB: prepare for changover to Runtime PM frameworkAlan Stern1-31/+0
2009-12-11USB: remove the auto_pm flagAlan Stern1-4/+0
2009-09-23USB: fix missing error check in probingOliver Neukum1-12/+22
2009-09-23USB: make intf.pm_usage an atomic_tAlan Stern1-16/+22
2009-09-23USB: add API for userspace drivers to "claim" portsAlan Stern1-0/+3
2009-06-15USB: Avoid PM error messages during resume if a device was disconnectedFrans Pop1-1/+9
2009-06-15usb: convert endpoint devices to bus-less childs of the usb interfaceKay Sievers1-16/+9
2009-06-15USB: consolidate usb_unbind_interface and usb_driver_release_interfaceAlan Stern1-13/+8
2009-01-27USB: fix toggle mismatch in disable_endpoint pathsAlan Stern1-1/+1
2009-01-07USB: re-enable interface after driver unbindsAlan Stern1-3/+6
2009-01-07USB: Enhance usage of pm_message_tAlan Stern1-27/+34
2009-01-07USB: utilize round_jiffies_up_relative()Alan Stern1-2/+2
2009-01-07USB: Introduce usb_queue_reset() to do resets from atomic contextsInaky Perez-Gonzalez1-2/+21
2009-01-07USB: add asynchronous autosuspend/autoresume supportAlan Stern1-0/+86
2008-12-17USB: skip Set-Interface(0) if already in altsetting 0Alan Stern1-1/+3
2008-10-22USB: don't rebind drivers after failed resume or resetAlan Stern1-1/+2
2008-10-17USB: RESET_RESUME needs to block autosuspend when remote wakeup is neededOliver Neukum1-1/+2
2008-08-21USB: Don't rebind before "complete" callbackAlan Stern1-21/+9
2008-08-21USB: Add new PM callback methods for USBAlan Stern1-13/+2
2008-08-21USB: Defer Set-Interface for suspended devicesAlan Stern1-3/+28
2008-08-21USB: Add udev argument to interface suspend/resume functionsAlan Stern1-10/+10
2008-08-13USB: fix compiler warning fixAlan Stern1-2/+2
2008-08-13usb/core/driver: fix warningAlexander Beregalov1-2/+1
2008-07-21USB: Force unbinding of drivers lacking reset_resume or other methodsAlan Stern1-15/+116
2008-07-21USB: implement "soft" unbindingAlan Stern1-5/+6
2008-07-21USB: try to salvage lost power sessionsAlan Stern1-8/+5
2008-07-21USB: simplify hub_restart() logicAlan Stern1-6/+1
2008-07-21USB: usb dev_name() instead of dev->bus_idKay Sievers1-3/+3
2008-04-24USB: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-15/+15
2008-04-24USB: HCDs use the do_remote_wakeup flagAlan Stern1-1/+0
2008-04-24USB: remove dev->power.power_stateAlan Stern1-8/+4
2008-04-24USB: EHCI: carry out port handover during each root-hub resumeAlan Stern1-2/+7
2008-02-01USB: fix codingstyle issues in drivers/usb/core/*.cGreg Kroah-Hartman1-14/+16
2008-02-01USB: mark USB drivers as being GPL onlyGreg Kroah-Hartman1-5/+5
2008-02-01USB: handle idVendor of 0x0000Greg Kroah-Hartman1-2/+2
2008-01-24USB: use proper call to driver_create_fileGreg Kroah-Hartman1-4/+4
2007-11-28USB: uevent environment key fixAlan Stern1-11/+0
2007-10-12Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6Linus Torvalds1-22/+7
2007-10-12USB: fix race in autosuspend rescheduleAlan Stern1-16/+16
2007-10-12USB: skip autosuspended devices during system resumeAlan Stern1-7/+20
2007-10-12USB: don't propagate FREEZE or PRETHAW suspendsAlan Stern1-1/+6
2007-10-12USB: flush outstanding URBs when suspendingAlan Stern1-1/+9
2007-10-12USB: move decision to ignore FREEZE eventsAlan Stern1-8/+1
2007-10-12usb: usb_probe_interface() obeys authorizationInaky Perez-Gonzalez1-0/+5
2007-10-12Driver core: change add_uevent_var to use a structKay Sievers1-22/+7
2007-09-11USB: fix linked list insertion bugfix for usb coreNathael Pajani1-1/+1
2007-08-22USB: update last_busy field correctlyAlan Stern1-5/+4
2007-07-18dev_vdbg(), available with -DVERBOSE_DEBUGDavid Brownell1-7/+0
2007-07-12USB: Make usb-autosuspend timer 1 sec jiffy alignedVenki Pallipadi1-1/+1
2007-07-12USB: Remove usages of dev->power.power_stateAlan Stern1-5/+1
2007-07-12USB: add reset_resume methodAlan Stern1-11/+40
2007-07-12USB: rework C++-style commentsAlan Stern1-21/+29
2007-07-12USB: add RESET_RESUME device quirkAlan Stern1-0/+4
2007-07-12USB: add USB-Persist facilityAlan Stern1-15/+24
2007-07-12USB: move bus_suspend and bus_resume method callsAlan Stern1-6/+5
2007-07-12USB: Implement PM FREEZE and PRETHAWAlan Stern1-1/+8
2007-07-12USB: interface PM stateAlan Stern1-4/+0
2007-05-22USB: more autosuspend timer stuffAlan Stern1-4/+14
2007-04-27USB: fix signed jiffies issue in autosuspend logicAlan Stern1-5/+12
2007-04-27USB: add "last_busy" field for use in autosuspendAlan Stern1-37/+65
2007-04-27USB: make usbdevices export their device nodes instead of using a separate classKay Sievers1-45/+13
2007-04-27USB: add power/level sysfs attributeAlan Stern1-3/+12
2007-04-27USB: Allow autosuspend delay to equal 0Alan Stern1-1/+1
2007-04-27USB: separate autosuspend from external suspendAlan Stern1-23/+59
2007-04-27usbcore: move usb_autosuspend_workAlan Stern1-2/+19
2007-04-27USB: remove use of the bus rwsem, as it doesn't really protect anything.Greg Kroah-Hartman1-6/+6
2007-02-23USB: export autosuspend delay in sysfsAlan Stern1-0/+20
2007-02-23USB: make autosuspend delay a module parameterAlan Stern1-6/+10
2007-02-23USB: refactor usb device matching and create usb_device_matchGreg Kroah-Hartman1-12/+21
2007-02-16USB: kernel-doc fixesRandy Dunlap1-0/+1
2007-02-07Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6Linus Torvalds1-16/+19
2007-02-07USB serial: add dynamic id support to usb-serial coreGreg Kroah-Hartman1-16/+19