USB: serial: only set sysrq timestamp for consoles
authorJohan Hovold <johan@kernel.org>
Wed, 8 Jul 2020 12:49:54 +0000 (14:49 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 9 Jul 2020 07:19:54 +0000 (09:19 +0200)
commit37ae231554f401104bf21847f9093d647a47faa4
treef8d49b26c7a882f96dc3470bf8b8426f93cda877
parent733fff67941dad64b8a630450b8372b1873edc41
USB: serial: only set sysrq timestamp for consoles

Only set the sysrq timestamp for console ports to avoid having every
driver also check the console flag when processing incoming data.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/f81232.c
drivers/usb/serial/f81534.c
drivers/usb/serial/ftdi_sio.c
drivers/usb/serial/generic.c
drivers/usb/serial/mxuport.c
drivers/usb/serial/pl2303.c
drivers/usb/serial/ssu100.c