Mike Dunn d062d4ede8 mtd: bitflip_threshold added to mtd_info and sysfs
An element 'bitflip_threshold' is added to struct mtd_info, and also exposed as
a read/write variable in sysfs.  This will be used to determine whether or not
mtd_read() returns -EUCLEAN or 0 (absent a hard error).  If the driver leaves it
as zero, mtd will set it to a default value of ecc_strength.

This v2 adds the line that propagates bitflip_threshold from the master to the
partitions - thanks Ivan¹.

¹ http://lists.infradead.org/pipermail/linux-mtd/2012-April/040900.html

Signed-off-by: Mike Dunn <mikedunn@newsguy.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-05-13 23:11:39 -05:00
..
2011-10-24 16:52:39 +02:00
evm
2011-07-18 12:29:40 -04:00
2010-10-21 20:21:03 -04:00
2012-03-28 18:41:23 +01:00
2011-03-31 11:26:23 -03:00
2012-04-23 14:23:32 +03:00
2011-03-22 04:53:09 -03:00
2008-11-12 17:17:18 -08:00
2008-05-24 09:56:07 -07:00
2011-03-31 11:26:23 -03:00
2007-02-11 10:51:28 -08:00
2011-04-29 18:09:34 -07:00
2009-02-18 15:37:56 -08:00
2011-02-21 20:16:21 -05:00
2009-09-23 07:39:48 -07:00
2008-04-19 19:10:28 -07:00
2008-07-24 10:47:17 -07:00
2008-04-18 08:56:07 -07:00
2009-06-18 13:04:04 -07:00