Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Panfrost
  • linux
  • Repository

Switch branch/tag
  • linux
  • drivers
  • char
  • tty_port.c
Find file BlameHistoryPermalink
  • Alan Cox's avatar
    tty_port: If we are opened non blocking we still need to raise the carrier · 4175f3e3
    Alan Cox authored Oct 28, 2009
    Original discussion:
    http://thread.gmane.org/gmane.linux.usb.general/23217/focus=23248
    or
    http://marc.info/?l=linux-usb&m=125553790714133&w=2
    
    
    
    The tty_port code inherited a bug common to various drivers it was based
    upon. If the tty is opened O_NONBLOCK we do not wait for the carrier to be
    raised but we must still raise our modem lines if appropriate.
    
    (There is a second question here about whether we should do so if CLOCAL is
     set but that can wait)
    Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
    Reported-by: default avatarKarl Hiramoto <karl@hiramoto.org>
    Tested-by: default avatarKarl Hiramoto <karl@hiramoto.org>
    Cc: stable <stable@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    4175f3e3

Replace tty_port.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.