aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-01-13 18:30:18 +0100
committerGreg Kroah-Hartman <[email protected]>2021-01-15 10:22:26 +0100
commitfd4a641ac88fbbaf8b90e00823397597a287cfcd (patch)
tree94894d04476fe2db405ccb58a4ae0a15a521c918 /drivers/usb/cdns3/cdns3-imx.c
parent63e34e707c6248645da340d4aff7714ec27b5fb1 (diff)
leds: trigger: implement a tty trigger
Usage is as follows: myled=ledname tty=ttyS0 echo tty > /sys/class/leds/$myled/trigger echo $tty > /sys/class/leds/$myled/ttyname . When this new trigger is active it periodically checks the tty's statistics and when it changed since the last check the led is flashed once. Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions