Searched hist:"4 d9628a1486658b83e47ad4c7ff07ff1ff0d3d89" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/tty/serial/ |
H A D | atmel_serial.c | diff 4d9628a1486658b83e47ad4c7ff07ff1ff0d3d89 Fri Feb 27 02:07:17 CST 2015 Leilei Zhao <leilei.zhao@atmel.com> tty/serial: at91: set ops in property init each time
The property in device tree will be reading each time when tty is opened, so the ops of serial port should be set after that instead of setting once in probe. Otherwise, the ops of serial port is inconsistent with the state of serial work manner. For example, the atmel serial driver can't work when switching to PIO mode due to DMA channel is not available.
Signed-off-by: Leilei Zhao <leilei.zhao@atmel.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|