[PATCH v2 0/4] LED trigger on MTD activity
Ezequiel Garcia
ezequiel at vanguardiasur.com.ar
Tue Apr 12 13:46:38 PDT 2016
After our recent discussion [1], here's a proper patchset.
The first patch is a minor cleanup which moves mtd_write_oob
out of mtd.h header.
The second patch introduces the LED MTD trigger.
The third patch removes the "nand-disk" LED trigger
from the NAND core.
The fourth patch completes the series by calling ledtrig_mtd_activity
on all MTD I/O activity paths.
Changes from v1:
* Split the patches, suggested by Boris.
Feedback is welcome!
[1] http://www.spinics.net/lists/linux-leds/msg05906.html
Ezequiel Garcia (4):
mtd: Uninline mtd_write_oob and move it to mtdcore.c
leds: trigger: Introduce a MTD (NAND/NOR) trigger
mtd: nand: Remove the "nand-disk" LED trigger
mtd: Hook I/O activity to the MTD LED trigger
drivers/leds/trigger/Kconfig | 8 +++++++
drivers/leds/trigger/Makefile | 1 +
drivers/leds/trigger/ledtrig-mtd.c | 45 ++++++++++++++++++++++++++++++++++++++
drivers/mtd/mtdcore.c | 19 ++++++++++++++++
drivers/mtd/nand/nand_base.c | 29 +-----------------------
include/linux/leds.h | 6 +++++
include/linux/mtd/mtd.h | 12 +---------
7 files changed, 81 insertions(+), 39 deletions(-)
create mode 100644 drivers/leds/trigger/ledtrig-mtd.c
--
2.7.0
More information about the linux-mtd
mailing list