commit | 990a3af0c20590954be01a95c2c3fcef9360a836 | [log] [tgz] |
---|---|---|
author | Ezequiel Garcia <ezequiel.garcia@free-electrons.com> | Tue Jun 24 10:55:50 2014 -0300 |
committer | Brian Norris <computersforpeace@gmail.com> | Tue Jul 08 18:37:26 2014 -0700 |
tree | fc993286f8726b9a413b4d79e21133f3157ec2e8 | |
parent | 89384f646287437ba18afb28ccb125d5866a7209 [diff] |
mtd: Add sysfs attributes to expose the ECC stats fields These new sysfs device attributes allow us to retrieve the ECC and bad block stats by poking a sysfs file, which is often more convenient than using the ioctl. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Tested-by: Pekon Gupta <pekon@ti.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com>