[PATCH 4/5] tty/serial: at91: set ops in property init each time

2015-02-25 Thread Leilei Zhao
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

[PATCH 4/5] tty/serial: at91: set ops in property init each time

2015-02-25 Thread Leilei Zhao
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