1. 01 6月, 2015 3 次提交
  2. 25 5月, 2015 2 次提交
    • A
      tty: serial/8250: remove console dependency for mediatek · 7798edee
      Arnd Bergmann 提交于
      If the mediatek serial port driver is built-in, but serial
      console is disabled in Kconfig (e.g. when the serial driver
      itself is a loadable module), we get this build error:
      
      drivers/built-in.o: In function `early_mtk8250_setup':
      undefined reference to `early_serial8250_setup'
      
      To avoid that problem, this patch encloses the early_mtk8250_setup
      function in #ifdef CONFIG_SERIAL_8250_CONSOLE, the same symbol
      that guards the early_serial8250_setup function.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Acked-by: NEddie Huang <eddie.huang@mediatek.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7798edee
    • S
      serial: 8250_omap: provide complete custom startup & shutdown callbacks · 9e91597f
      Sebastian Andrzej Siewior 提交于
      The currently in-use port->startup and port->shutdown are "okay". The
      startup part for instance does the tiny omap extra part and invokes
      serial8250_do_startup() for the remaining pieces. The workflow in
      serial8250_do_startup() is okay except for the part where UART_RX is
      read without a check if there is something to read. I tried to
      workaround it in commit 0aa525d1 ("tty: serial: 8250_core: read only
      RX if there is something in the FIFO") but then reverted it later in
      commit ca8bb4ae ("serial: 8250: Revert "tty: serial: 8250_core: read
      only RX if there is something in the FIFO"").
      
      This is the second attempt to get it to work on older OMAPs without
      breaking other chips this time
      Peter Hurley suggested to pull in the few needed lines from
      serial8250_do_startup() and drop everything else that is not required
      including making it simpler like using just request_irq() instead the
      chain handler like it is doing now.
      So lets try that.
      
      Fixes: ca8bb4ae ("serial: 8250: Revert "tty: serial: 8250_core:
             read only RX if there is something in the FIFO"")
      Tested-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9e91597f
  3. 11 5月, 2015 4 次提交
  4. 07 5月, 2015 7 次提交
  5. 29 4月, 2015 1 次提交
  6. 15 4月, 2015 1 次提交
  7. 10 4月, 2015 3 次提交
  8. 27 3月, 2015 19 次提交