[PATCH v2 0/4] LED trigger on MTD activity
Boris Brezillon
boris.brezillon at free-electrons.com
Tue Apr 12 13:58:48 PDT 2016
On Tue, 12 Apr 2016 17:46:38 -0300
Ezequiel Garcia <ezequiel at vanguardiasur.com.ar> wrote:
> 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.
LGTM.
Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>
>
> 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
>
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the linux-mtd
mailing list