1. 07 9月, 2012 16 次提交
  2. 06 9月, 2012 22 次提交
  3. 17 8月, 2012 2 次提交
    • J
      pmac_zilog,kdb: Fix console poll hook to return instead of loop · 38f8eefc
      Jason Wessel 提交于
      kdb <-> kgdb transitioning does not work properly with this UART
      driver because the get character routine loops indefinitely as opposed
      to returning NO_POLL_CHAR per the expectation of the KDB I/O driver
      API.
      
      The symptom is a kernel hang when trying to switch debug modes.
      
      Cc: Alan Cox <alan@linux.intel.com>
      Signed-off-by: NJason Wessel <jason.wessel@windriver.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      38f8eefc
    • H
      serial: mxs-auart: fix the wrong RTS hardware flow control · 00592021
      Huang Shijie 提交于
      Without checking if the auart supports the hardware flow control or not,
      the old mxs_auart_set_mctrl() asserted the RTS pin blindly.
      
      This will causes the auart receives wrong data in the following case:
         The far-end has already started the write operation, and wait for
      the auart asserts the RTS pin. Then the auart starts the read operation,
      but mxs_auart_set_mctrl() may be called before we set the RTSCTS in the
      mxs_auart_settermios(). So the RTS pin is asserted in a wrong situation,
      and we get the wrong data in the end.
      
      This bug has been catched when I connect the mx23(DTE) to the mx53(DCE).
      
      This patch also replaces the AUART_CTRL2_RTS with AUART_CTRL2_RTSEN.
      We should use the real the hardware flow control, not the software-controled
      hardware flow control.
      Signed-off-by: NHuang Shijie <b32955@freescale.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      00592021