aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/usb-serial.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-04USB: core: Use device_driver directly in struct usb_driver and usb_device_driverYajun Deng1-1/+1
2023-08-11tty: make tty_operations::write()'s count size_tJiri Slaby (SUSE)1-2/+2
2023-08-11tty: propagate u8 data to tty_operations::write()Jiri Slaby (SUSE)1-2/+1
2023-06-07USB: serial: report unsupported break signallingJohan Hovold1-1/+1
2023-06-07USB: serial: return errors from break handlingJohan Hovold1-1/+1
2023-01-19tty: Convert ->dtr_rts() to take bool argumentIlpo Järvinen1-1/+1
2023-01-19tty: Convert ->carrier_raised() and callchains to boolIlpo Järvinen1-2/+2
2022-08-30tty: Make ->set_termios() old ktermios constIlpo Järvinen1-1/+2
2022-07-25USB: serial: fix tty-port initialized commentsJohan Hovold1-1/+1
2021-09-20USB: serial: allow hung up ports to be suspendedJohan Hovold1-14/+17
2021-09-20USB: serial: clean up core error labelsJohan Hovold1-18/+16
2021-07-27tty: drop put_tty_driverJiri Slaby1-2/+2
2021-07-27tty: stop using alloc_tty_driverJiri Slaby1-5/+4
2021-05-13tty: make tty_operations::chars_in_buffer return uintJiri Slaby1-1/+1
2021-05-13tty: make tty_operations::write_room return uintJiri Slaby1-1/+1
2021-04-09USB: serial: do not use tty class device for debuggingJohan Hovold1-16/+16
2021-04-08USB: serial: add generic support for TIOCSSERIALJohan Hovold1-5/+48
2021-04-08USB: serial: fix return value for unsupported ioctlsJohan Hovold1-3/+3
2021-04-01USB: serial: add support for multi-interface functionsJohan Hovold1-11/+73
2021-04-01USB: serial: refactor endpoint classificationJohan Hovold1-20/+31
2021-04-01USB: serial: drop unused suspending flagJohan Hovold1-7/+1
2020-03-11USB: serial: fix tty cleanup-op kernel-docJohan Hovold1-1/+1
2020-01-17USB: serial: suppress driver bind attributesJohan Hovold1-0/+3
2019-10-04USB: serial: fix runtime PM after driver unbindJohan Hovold1-4/+1
2019-06-20docs: usb: rename files to .rst and add them to drivers-apiMauro Carvalho Chehab1-1/+1
2019-04-26USB: serial: fix initial-termios handlingJohan Hovold1-4/+7
2018-10-13complete ->[sg]et_serial() switchoverAl Viro1-2/+2
2018-10-13usb-serial: begin switching to ->[sg]et_serial()Al Viro1-0/+20
2018-06-05Merge tag 'usb-4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-1/+1
2018-05-17USB: serial: use tty_port_register_device()Johan Hovold1-1/+1
2018-05-16tty: replace ->proc_fops with ->proc_showChristoph Hellwig1-14/+1
2017-11-04USB: serial: fix module-license macrosJohan Hovold1-1/+1
2017-11-04USB: serial: Remove redundant license textGreg Kroah-Hartman1-4/+0
2017-11-04USB: add SPDX identifiers to all remaining files in drivers/usb/Greg Kroah-Hartman1-0/+1
2017-10-13USB: serial: drop unused core USB driverJohan Hovold1-22/+0
2017-06-21USB: serial: propagate late probe errorsJohan Hovold1-11/+12
2017-06-21USB: serial: refactor port endpoint setupJohan Hovold1-92/+130
2017-03-31USB: serial: drop obsolete open-race workaroundJohan Hovold1-8/+0
2017-03-28USB: serial: move pl2303 hack out of usb-serial coreJohan Hovold1-40/+0
2017-03-28USB: serial: add calc_num_ports callback to generic driverJohan Hovold1-19/+8
2017-03-28USB: serial: add probe callback to generic driverJohan Hovold1-2/+0
2017-03-28USB: serial: allow subdrivers to modify port-endpoint mappingJohan Hovold1-13/+6
2017-03-16USB: serial: add endpoint sanity check to coreJohan Hovold1-5/+12
2017-03-16USB: serial: replace runtime overflow checkJohan Hovold1-8/+5
2017-03-16USB: serial: refactor and clean up endpoint handlingJohan Hovold1-74/+80
2017-03-16USB: serial: clean up endpoint and port-counter typesJohan Hovold1-7/+7
2017-03-16USB: serial: clean up probe error pathsJohan Hovold1-12/+12
2016-10-21USB: serial: fix potential NULL-dereference at probeJohan Hovold1-1/+2
2016-08-08USB: serial: fix memleak in driver-registration error pathAlexey Klimov1-1/+3
2016-05-20Merge tag 'usb-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-2/+3
2016-05-10USB: serial: fix minor-number allocationJohan Hovold1-1/+2
2016-04-30tty: Replace ASYNC_INITIALIZED bit and update atomicallyPeter Hurley1-1/+1
2016-04-25USB: serial: use IS_ENABLED() instead of checking for FOO || FOO_MODULEJavier Martinez Canillas1-1/+1
2015-07-09USB: serial: Destroy serial_minors IDR on module exitJohannes Thumshirn1-0/+1
2015-02-26USB: serial: fix port attribute-creation raceJohan Hovold1-0/+16
2015-02-26Revert "USB: serial: make bulk_out_size a lower limit"Johan Hovold1-2/+3
2014-08-27USB: serial: fix potential heap buffer overflowJohan Hovold1-0/+5
2014-08-27USB: serial: fix potential stack buffer overflowJohan Hovold1-10/+22
2014-05-27USB: serial: remove overly defensive port testsJohan Hovold1-24/+14
2014-04-24USB: serial: fix sysfs-attribute removal deadlockJohan Hovold1-1/+3
2014-03-12USB: serial: add missing newlines to dev_<level> messages.Johan Hovold1-2/+2
2014-03-12USB: serial: add missing bracesJohan Hovold1-4/+4
2014-03-12USB: serial: make bulk_out_size a lower limitJohan Hovold1-3/+2
2014-01-03USB: serial: clean up ioctl debuggingJohan Hovold1-1/+1
2013-07-23USB: serial: clean up dtr_rtsJohan Hovold1-12/+2
2013-06-17USB: serial: increase the number of devices we supportGreg Kroah-Hartman1-3/+6
2013-06-17USB: serial: make minor allocation dynamicGreg Kroah-Hartman1-68/+55
2013-06-10USB: serial: ports: add minor and port numberGreg Kroah-Hartman1-3/+4
2013-06-05USB: serial: fix TIOCMIWAIT return valueJohan Hovold1-3/+1
2013-05-16USB: serial: clean up chars_in_bufferJohan Hovold1-9/+2
2013-05-16USB: serial: add generic wait_until_sent implementationJohan Hovold1-0/+2
2013-05-16USB: serial: add wait_until_sent operationJohan Hovold1-0/+17
2013-04-29Merge tag 'usb-3.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-119/+111
2013-04-01Merge 3.9-rc5 into tty-nextGreg Kroah-Hartman1-1/+3
2013-03-28Revert "USB: serial: fix hang when opening port"Greg Kroah-Hartman1-1/+0
2013-03-28Merge branch 'usb-linus' into usb-nextGreg Kroah-Hartman1-0/+1
2013-03-26USB: serial: fix hang when opening portMing Lei1-0/+1
2013-03-25USB: serial: update copyright informationJohan Hovold1-0/+1
2013-03-25USB: serial: wake up MSR-wait queue on disconnectJohan Hovold1-0/+1
2013-03-25USB: serial: add tiocmiwait subdriver operationJohan Hovold1-4/+11
2013-03-25USB: serial: use urb poison to reliably kill trafficJohan Hovold1-18/+37
2013-03-25USB: serial: rename port releaseJohan Hovold1-2/+2
2013-03-25USB: serial: fix port releaseJohan Hovold1-7/+0
2013-03-25USB: serial: clean up generic-operation handlingJohan Hovold1-6/+6
2013-03-25USB: serial: remove generic release callbackJohan Hovold1-2/+1
2013-03-25USB: serial: remove generic disconnect callbackJohan Hovold1-2/+2
2013-03-25USB: serial: remove redundant allocation error messagesJohan Hovold1-28/+9
2013-03-25USB: serial: clean up debug infoJohan Hovold1-19/+20
2013-03-25USB: serial: remove redundant commentsJohan Hovold1-15/+5
2013-03-25USB: serial: rename tty-port callbacksJohan Hovold1-9/+9
2013-03-25USB: serial: comments on suspend failureMing Lei1-0/+5
2013-03-25Merge 3.9-rc4 into usb-nextGreg Kroah-Hartman1-1/+2
2013-03-21USB: serial: fix interface refcountingJohan Hovold1-1/+2
2013-03-18TTY: add tty_port_tty_wakeup helperJiri Slaby1-9/+1
2013-03-15usb/serial: Remove unnecessary check for consolePeter Hurley1-9/+5
2013-02-13USB: serial: fix null-pointer dereferences on disconnectJohan Hovold1-2/+12
2013-01-18USB: serial: grab disconnect mutex in chars_in_bufferJohan Hovold1-4/+10
2012-11-15TTY: call tty_port_destroy in the rest of driversJiri Slaby1-0/+1
2012-10-01Merge tag 'usb-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbLinus Torvalds1-100/+76
2012-09-19USB: serial: fix up bug with missing {}Greg Kroah-Hartman1-1/+2
2012-09-18USB: serial: core: fix up printk() usageGreg Kroah-Hartman1-10/+3
2012-09-18USB: Serial: usb-serial: remove debug module parameterGreg Kroah-Hartman1-6/+2
2012-09-13USB: serial: core: clean up dbg and printk usage.Greg Kroah-Hartman1-77/+69
2012-09-13USB: serial: core: remove some trace debugging callsGreg Kroah-Hartman1-6/+0
2012-07-17tty: Move the handling of the tty release logicAlan Cox1-2/+1
2012-07-16tty: move the termios object into the ttyAlan Cox1-1/+1
2012-06-26Merge 3.5-rc4 into tty-nextGreg Kroah-Hartman1-5/+7
2012-06-13TTY: usb-serial, use tty_port_installJiri Slaby1-1/+1
2012-06-13usb: use usb_serial_put in usb_serial_probe errorsJan Safrata1-3/+3
2012-06-13USB: serial: Enforce USB driver and USB serial driver matchBjørn Mork1-2/+4
2012-05-16USB: serial: fix up reset_resume callbackGreg Kroah-Hartman1-2/+4
2012-05-16USB: serial: generic driver is only for testingBjørn Mork1-0/+2
2012-05-15USB: serial: hook up reset_resume callbackGreg Kroah-Hartman1-1/+23
2012-05-08USB: serial: rework usb_serial_register/deregister_drivers()Greg Kroah-Hartman1-16/+22
2012-05-07USB: serial: remove bizarre generic_serial probe functionGreg Kroah-Hartman1-1/+1
2012-05-07USB: serial: remove usb_serial_disconnect call in all driversGreg Kroah-Hartman1-13/+13
2012-05-07USB: serial: remove usb_serial_probe call in all driversGreg Kroah-Hartman1-1/+1
2012-05-07usb-serial: ftdi_sio: fix oops during autosuspendAlan Stern1-2/+7
2012-04-25USB: serial: fix interface data useJohan Hovold1-4/+2
2012-04-10USB: serial: fix race between probe and openJohan Hovold1-0/+8
2012-04-09USB: fix bug in serial driver unregistrationAlan Stern1-21/+2
2012-03-20Merge tag 'usb-3.3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usbLinus Torvalds1-5/+72
2012-03-08TTY: remove re-assignments to tty_driver membersJiri Slaby1-1/+0
2012-02-24USB: serial: remove usb_serial_register and usb_serial_deregisterGreg Kroah-Hartman1-10/+2
2012-02-24usb-serial: new API for driver registrationAlan Stern1-0/+75
2012-02-02USB: serial, use tty_standard_installJiri Slaby1-10/+6
2012-01-13module_param: make bool parameters really bool (drivers & misc)Rusty Russell1-1/+1
2011-11-26USB: remove BKL commentsDavidlohr Bueso1-2/+0
2011-11-15USB: serial: do not forward USB specific errors in writeJohan Hovold1-0/+2
2011-11-15USB: serial: fix whitespace issuesJohan Hovold1-8/+9
2011-11-15USB: serial: do not forward USB specific errors in openJohan Hovold1-0/+4
2011-11-15USB: serial: add support for multiple read urbsJohan Hovold1-19/+31
2011-11-15USB: serial: reuse generic write urb and bulk-out bufferJohan Hovold1-19/+4
2011-08-23USB: use usb_endpoint_maxp() instead of le16_to_cpu()Kuninori Morimoto1-4/+4
2011-03-16Merge branch 'tty-next' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-6/+6
2011-02-25USB: serial drivers need to use larger bulk-in buffersAlan Stern1-3/+2
2011-02-17tty: now phase out the ioctl file pointer for goodAlan Cox1-1/+1
2011-02-17tty: remove filp from the USB tty ioctlsAlan Cox1-1/+1
2011-02-17tiocmset: kill the file pointer argumentAlan Cox1-2/+2
2011-02-17tiocmget: kill off the passing of the struct fileAlan Cox1-2/+2
2011-01-22USB serial: add missing .usb_driver field in serial driversAlan Stern1-2/+6
2010-11-30USB: fix autosuspend bug in usb-serialAlan Stern1-0/+3
2010-11-17BKL: remove extraneous #include <smp_lock.h>Arnd Bergmann1-1/+0
2010-10-22tty: Make tiocgicount a handlerAlan Cox1-0/+13
2010-08-23USB: serial: fix leak of usb serial module refrence countMing Lei1-16/+7
2010-08-10USB: serial: enable async suspend for usb serial port deviceMing Lei1-0/+2
2010-08-10USB-BKL: Remove BKL use for usb serial driver probingAndi Kleen1-16/+14
2010-05-20USB: serial: reimplement generic fifo-based writesJohan Hovold1-0/+33
2010-05-20USB: serial: generalise write buffer preparationJohan Hovold1-0/+1
2010-05-20USB: serial: generalise generic read implementationJohan Hovold1-0/+1
2010-05-20USB: serial: allow drivers to define bulk buffer sizesJohan Hovold1-2/+6
2010-05-20usb-serial: Use tty_port version console instead of usb_serial_portJason Wessel1-2/+2
2010-03-02tty: Fix various bogus WARN checks in the usb serial layerAlan Cox1-13/+0
2010-03-02USB: serial: fix typo in debug messageJohan Hovold1-1/+1
2009-12-23Fix usb_serial_probe() problem introduced by the recent kfifo changesStefani Seibold1-3/+2
2009-12-22kfifo: move out spinlockStefani Seibold1-2/+1
2009-12-22kfifo: move struct kfifo in placeStefani Seibold1-3/+2
2009-12-11usb_serial: Kill port mutexAlan Cox1-1/+0
2009-12-11usb_serial: Use the shutdown() operationAlan Cox1-28/+11
2009-12-11tty_port: add "tty_port_open" helperAlan Cox1-29/+20
2009-10-09USB: small fix in error case of suspend in generic usbserial codeOliver Neukum1-1/+3
2009-10-09USB: serial: don't call release without attachAlan Stern1-1/+5
2009-09-27tty: Fix regressions caused by commit b50989dcDave Young1-8/+6
2009-09-23USB: use kfifo to buffer usb-generic serial writesDavid VomLehn1-0/+7
2009-09-23USB: fix wrong order of events in usb serial suspensionOliver Neukum1-3/+7
2009-09-23USB: usb-serial, remove unused variablesJiri Slaby1-6/+0
2009-09-19usb-serial: straighten out serial_openAlan Stern1-37/+22
2009-09-19usb-serial: add missing tests and debug linesAlan Stern1-4/+17
2009-09-19usb-serial: rename subroutinesAlan Stern1-8/+11
2009-09-19usb-serial: fix termios initialization logicAlan Stern1-12/+10
2009-09-19usb-serial: acquire references when a new tty is installedAlan Stern1-64/+47
2009-09-19usb-serial: change logic of serial lookupsAlan Stern1-8/+23
2009-09-19usb-serial: put subroutines in logical orderAlan Stern1-77/+77
2009-09-19usb-serial: change referencing of port and serial structuresAlan Stern1-75/+20
2009-09-19tty: USB serial termios bitsAlan Cox1-1/+37
2009-09-19tty: USB does not need the filp argument in the driversAlan Cox1-1/+1
2009-09-19tty: USB can now use the shutdown method for kref based freeing of portsAlan Cox1-21/+7
2009-09-19tty: USB hangup is racyAlan Cox1-4/+1
2009-07-27usb_serial: Fix remaining ref count/lock bugsAlan Cox1-4/+13
2009-07-27tty: Fix a USB serial crash/scribbleAlan Cox1-1/+18
2009-07-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6Linus Torvalds1-1/+2
2009-07-12USB: console: Fix regression in usb console on kernel bootJason Wessel1-1/+2
2009-07-12headers: smp_lock.h reduxAlexey Dobriyan1-0/+1
2009-06-25usb_serial: Fix oops when unexisting usb serial device is opened.Thadeu Lima de Souza Cascardo1-0/+3
2009-06-15USB: usb-serial: replace shutdown with disconnect, releaseAlan Stern1-16/+13
2009-06-15USB: usb-serial: call port_probe and port_remove at the right timesAlan Stern1-2/+22
2009-06-11tty: Bring the usb tty port structure into more useAlan Cox1-44/+100
2009-05-28usb-serial: fix crash when sub-driver updates firmwareAlan Stern1-0/+1
2009-04-23USB: serial: fix lifetime and locking problemsAlan Stern1-36/+68
2009-04-01proc tty: switch usb-serial to ->proc_fopsAlexey Dobriyan1-31/+27
2009-03-24usb-serial: fix usb_serial_register bug when boot with nousb paramDave Young1-0/+3
2009-03-24USB: serial: refuse to open recently removed USB Serial devicesJames Woodcock1-0/+5
2009-03-24USB: serial: remove recourse to generic methodOliver Neukum1-1/+0
2009-03-24USB: serial: use generic method if no alternative is provided in usb serial l...Oliver Neukum1-2/+5
2009-03-24USB: serial: introduce a flag into the usb serial layer to tell drivers that ...Oliver Neukum1-0/+4
2009-01-12usb-serial: remove NULL checkAlan Cox1-3/+0
2009-01-02tty: Drop the lock_kernel in the private ioctl hookAlan Cox1-6/+1
2009-01-02tty: USB tty devices can block in tcdrain when unpluggedAlan Cox1-0/+4
2009-01-02tty: Fix close races in USB serialAlan Cox1-5/+10
2008-10-30tty: Fix USB kref leakAlan Cox1-0/+1