Elen Song a930e52875 serial: at91: use function pointer to choose pdc or pio
use function pointer can avoid define atmel_use_pdc_tx/rx everywhere.
(*prepare_rx/tx)() is in setup transfer stage.
(*schedule_rx/tx)() is in tasklet schedule stage.
(*release_rx/tx)() is used when shutdown the transfer.

Signed-off-by: Elen Song <elen.song@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-07-29 13:03:29 -07:00
..
2013-07-26 16:19:48 -07:00
2013-03-18 16:24:29 -07:00
2013-01-15 22:30:15 -08:00
2013-02-06 11:10:17 -08:00
2013-03-18 16:24:29 -07:00
2011-03-31 11:26:23 -03:00
2012-08-10 12:55:47 -07:00
2013-03-18 16:24:29 -07:00
2013-07-24 15:12:53 -07:00
2013-05-20 12:15:59 -07:00