serial: tegra: report error to upper tty layer
commitcb79f504bb261460bd54b8a5577100f21982b20a
authorKrishna Yarlagadda <kyarlagadda@nvidia.com>
Wed, 4 Sep 2019 04:42:59 +0000 (4 10:12 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Sep 2019 08:00:04 +0000 (5 10:00 +0200)
treed6443b490af3cde323f8ef7b71ba8f721af47b1b
parentb9c2470fb150a3cc82a3ee8072da88cb2a73e213
serial: tegra: report error to upper tty layer

Report overrun/parity/frame/break errors to top tty layer. Add support
to ignore break character if IGNBRK is set.

Signed-off-by: Shardar Shariff Md <smohammed@nvidia.com>
Signed-off-by: Krishna Yarlagadda <kyarlagadda@nvidia.com>
Link: https://lore.kernel.org/r/1567572187-29820-5-git-send-email-kyarlagadda@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/serial-tegra.c