mbox series

[0/2] ledtrig-tty: add new state evaluation

Message ID 20230926093607.59536-1-fe@dev.tdt.de
Headers show
Series ledtrig-tty: add new state evaluation | expand

Message

Florian Eckert Sept. 26, 2023, 9:36 a.m. UTC
This is a follow-up patchset, based on the mailing list discussion from
March 2023 based on the old patchset v7 [1]. I have changed, the LED trigger
handling via the sysfs interfaces as suggested by Uwe Kleine-König.

[1] https://lore.kernel.org/linux-leds/20230306093524.amm7o4ppa7gon4ew@pengutronix.de/

Florian Eckert (2):
  tty: add new helper function tty_get_mget
  trigger: ledtrig-tty: add new line mode to triggers

 .../ABI/testing/sysfs-class-led-trigger-tty   |  54 ++++
 drivers/leds/trigger/ledtrig-tty.c            | 272 +++++++++++++++++-
 drivers/tty/tty_io.c                          |  29 +-
 include/linux/tty.h                           |   1 +
 4 files changed, 339 insertions(+), 17 deletions(-)