aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorMagnus Damm <[email protected]>2021-12-12 22:21:28 +0900
committerGreg Kroah-Hartman <[email protected]>2021-12-30 13:29:56 +0100
commitd8e9a406a931f687945703a4bac45042eb81ce92 (patch)
treee93562187f9adb69b1d7002ae1e1c303ec525482 /net/lapb/lapb_timer.c
parentad234e2bac274a43c9fa540bde8cd9f0c627b71f (diff)
serdev: BREAK/FRAME/PARITY/OVERRUN notification prototype V2
Allow serdev device drivers get notified by hardware errors such as BREAK, FRAME, PARITY and OVERRUN. With this patch, in the event of an error detected in the UART device driver the serdev_device_driver will get the newly introduced ->error() callback invoked if serdev_device_set_error_mask() has previously been used to enable the type of error. The errors are taken straight from the TTY layer and fed into the serdev_device_driver after filtering out only enabled errors. Without this patch the hardware errors never reach the serdev_device_driver. Signed-off-by: Magnus Damm <[email protected]> Link: https://lore.kernel.org/r/163931528842.27756.3665040315954968747.sendpatchset@octo Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions