]> git.karo-electronics.de Git - linux-beck.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)
commit33d64c4ffab7da36d657a35fe2b494d5c971f615
treecabe4532c8f3c0f3c28f7f5364ef43ca4d94e1d2
parent34df42f59a602241b416001516d53fcfe35072b2
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