linux-leds.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] LED trigger on MTD activity
@ 2016-04-12 20:46 Ezequiel Garcia
  2016-04-12 20:46 ` [PATCH v2 1/4] mtd: Uninline mtd_write_oob and move it to mtdcore.c Ezequiel Garcia
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Ezequiel Garcia @ 2016-04-12 20:46 UTC (permalink / raw)
  To: linux-mtd, linux-leds
  Cc: Brian Norris, Boris Brezillon, Jacek Anaszewski, Ezequiel Garcia

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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-14 10:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12 20:46 [PATCH v2 0/4] LED trigger on MTD activity Ezequiel Garcia
2016-04-12 20:46 ` [PATCH v2 1/4] mtd: Uninline mtd_write_oob and move it to mtdcore.c Ezequiel Garcia
2016-04-12 20:46 ` [PATCH v2 2/4] leds: trigger: Introduce a MTD (NAND/NOR) trigger Ezequiel Garcia
2016-04-12 20:46 ` [PATCH v2 3/4] mtd: nand: Remove the "nand-disk" LED trigger Ezequiel Garcia
2016-04-12 20:46 ` [PATCH v2 4/4] mtd: Hook I/O activity to the MTD " Ezequiel Garcia
2016-04-12 20:58 ` [PATCH v2 0/4] LED trigger on MTD activity Boris Brezillon
2016-04-13  8:36 ` Jacek Anaszewski
2016-04-13 18:39   ` Boris Brezillon
2016-04-14  7:45     ` Jacek Anaszewski
2016-04-14 10:03       ` Boris Brezillon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).