1. 16 1月, 2013 1 次提交
    • J
      TTY: switch tty_flip_buffer_push · 2e124b4a
      Jiri Slaby 提交于
      Now, we start converting tty buffer functions to actually use
      tty_port. This will allow us to get rid of the need of tty in many
      call sites. Only tty_port will needed and hence no more
      tty_port_tty_get in those paths.
      
      Now, the one where most of tty_port_tty_get gets removed:
      tty_flip_buffer_push.
      
      IOW we also closed all the races in drivers not using tty_port_tty_get
      at all yet.
      
      Also we move tty_flip_buffer_push declaration from include/linux/tty.h
      to include/linux/tty_flip.h to all others while we are changing it
      anyway.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2e124b4a
  2. 22 11月, 2012 3 次提交
  3. 06 10月, 2012 1 次提交
    • G
      tty: serial: sccnxp: Fix bug with unterminated platform_id list · b70936d9
      Greg Kroah-Hartman 提交于
      The build even tells you that this is a bad thing:
      
      drivers/tty/serial/sccnxp: struct platform_device_id is 32 bytes.  The
      last of 8 is:
      0x73 0x63 0x36 0x38 0x36 0x39 0x32 0x00 0x00 0x00 0x00 0x00 0x00 0x00
      0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x54 0x0c 0x01 0x00
      0x00 0x00 0x00 0x00
      FATAL: drivers/tty/serial/sccnxp: struct platform_device_id is not
      terminated with a NULL entry!
      
      So fix this problem up before someone oopses their box when loading the
      driver, as this breaks the build.
      
      Cc: Alexander Shiyan <shc_work@mail.ru>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b70936d9
  4. 27 9月, 2012 3 次提交
  5. 07 9月, 2012 1 次提交
  6. 06 9月, 2012 1 次提交
    • A
      serial: New serial driver SCCNXP · 1d65c0b1
      Alexander Shiyan 提交于
      This driver is a replacement for a SC26XX driver with a lot of
      improvements and new features.
      The main differences from the SC26XX driver:
      - Removed dependency on MIPS. Driver can be used on any platform.
      - Added support for SCC2681, SCC2691, SCC2692, SC28L91, SC28L92,
        SC28L202, SCC68681 and SCC68692 ICs.
      - Using devm_-related functions.
      - Improved error handling of serial port, improved FIFO handling.
      - Ability to load multiple instances of drivers.
      
      To avoid the possibility of regression, driver SC26XX left in the
      system to confirm the stability of the driver on platforms where
      it is being used.
      Signed-off-by: NAlexander Shiyan <shc_work@mail.ru>
      Acked-by: NAlan Cox <alan@linux.intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1d65c0b1