1. 14 May, 2016 2 commits
  2. 16 Apr, 2016 1 commit
  3. 15 Apr, 2016 3 commits
  4. 31 Mar, 2016 9 commits
  5. 04 Oct, 2015 1 commit
  6. 06 Nov, 2014 1 commit
    • Peter Hurley's avatar
      serial: Fix locking for uart driver set_termios() method · 7c8ab967
      Peter Hurley authored
      The low-level uart driver may modify termios settings to override
      settings that are not compatible with the uart, such as CRTSCTS.
      Thus, callers of the low-level uart driver's set_termios() method must
      hold termios_rwsem write lock to prevent concurrent access to termios,
      in case such override occurs.
      
      The termios_rwsem lock requirement does not extend to console setup
      (ie., uart_set_options), as console setup cannot race with tty
      operations. Nor does this lock requirement extend to functions which
      cannot be concurrent with tty ioctls (ie., uart_port_startup() and
      uart_resume_port()).
      
      Further, always claim the port mutex to protect hardware
      re-reprogramming in the set_termios() uart driver method. Note this
      is unnecessary for console initialization in uart_set_options()
      which cannot be concurrent with other uart operations.
      Signed-off-by: default avatarPeter Hurley <peter@hurleysoftware.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7c8ab967
  7. 08 Sep, 2014 1 commit
  8. 28 May, 2014 1 commit
  9. 16 Oct, 2013 1 commit
    • Linus Walleij's avatar
      serial: core: delete .set_wake() callback · fa2b5ea0
      Linus Walleij authored
      This deletes the .set_wake() callback in the struct uart_ops.
      Apparently this has been unused since pre-git times. In the
      old-2.6-bkcvs it is deleted as part of a changeset removing
      the PM_SET_WAKEUP from pm_request_t which is since also deleted
      from the kernel.
      
      The apropriate way to set wakeups in the kernel is to have a
      code snippet like this in .suspend() or .runtime_suspend()
      callbacks:
      
      static int foo_suspend(struct device *dev)
      {
      	if (device_may_wakeup(dev)) {
      		/* Enable wakeups, set internal states */
      	}
      }
      
      This specific callback is not coming back.
      
      Cc: Rafael J. Wysocki <rjw@sisk.pl>
      Cc: Len Brown <len.brown@intel.com>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Kevin Hilman <khilman@deeprootsystems.com>
      Cc: Dmitry Artamonow <mad_soft@inbox.ru>
      Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fa2b5ea0
  10. 16 Jan, 2013 2 commits
  11. 05 Jan, 2012 1 commit
  12. 21 Jul, 2008 1 commit
  13. 02 Jun, 2006 1 commit
  14. 15 Apr, 2006 1 commit
    • Russell King's avatar
      [SERIAL] Update serial driver documentation · 67ab7f59
      Russell King authored
      Improve serial driver documentation:
      - Remove CVS id.
      - Update pointer to reference driver documentation.
      - Add comments about new uart_write_console function.
      - Add TIOCM_LOOP modem control bit description.
      - Add commentry about enable_ms method being called multiple times.
      - Add commentry about startup/shutdown method calling.
      - Mention that dereferencing port->info after shutdown is invalid.
      Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
      67ab7f59
  15. 31 Oct, 2005 1 commit
  16. 29 Jun, 2005 1 commit
  17. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4