]> git.baikalelectronics.ru Git - kernel.git/commit
serial: at91: support run time switch transfer mode
authorElen Song <elen.song@atmel.com>
Mon, 22 Jul 2013 08:30:28 +0000 (16:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Jul 2013 20:03:30 +0000 (13:03 -0700)
commitcdcc2f08dbf4426f5410e5826c06ccb16b6cf646
treecabe4532c8f3c0f3c28f7f5364ef43ca4d94e1d2
parent450b2ac92c17e9e917d4da8bf5353880744a61dc
serial: at91: support run time switch transfer mode

We will switch to pio mode when request of dma or pdc fail.
But soon or later, when the request is success, the transfer mode can switch to them at
next open serial port action.
So in startup stage, we should get original transfer mode.

Signed-off-by: Elen Song <elen.song@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/atmel_serial.c