]> git.baikalelectronics.ru Git - kernel.git/commit
serial: omap: refactor receive_chars() into rdi/rlsi handlers
authorFelipe Balbi <balbi@ti.com>
Thu, 6 Sep 2012 12:45:24 +0000 (15:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Sep 2012 16:17:01 +0000 (09:17 -0700)
commit452fab9059a18743ecf0e1deb2ae270d38fa9fca
tree2545dcedf56c07f2e8964a9eb415f8250cc67c19
parentb70819b515a97e0207a18cde4260728fa56a76d3
serial: omap: refactor receive_chars() into rdi/rlsi handlers

receive_chars() was getting too big and too difficult
to follow. By splitting it into separate RDI and RSLI
handlers, we have smaller functions which are easy
to understand and only touch the pieces which they need
to touch.

Tested-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/omap-serial.c