commit | 4ae82e5d23961515796d76850499db3866c5e73b | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <kubakici@wp.pl> | Fri May 29 21:20:28 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jun 01 06:47:27 2015 +0900 |
tree | 5f76e406512b415579cf83baad55828c553b7515 | |
parent | 4117a60c8e4c8d5f9fc05578e359d09d0fdf9d07 [diff] |
sc16is7xx: use LSR_TEMT_BIT in .tx_empty() LSR_TEMT_BIT (LSR bit 6) provides us exactly the information we need to determine if transmission is finished - FIFO level and shift register empty. We can save ourselves reading FIFO level explicitly if we use this bit. Signed-off-by: Jakub Kicinski <kubakici@wp.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>