mtd: devices: elm: Low power transition support
authoravinash philip <avinashphilip@ti.com>
Mon, 17 Jun 2013 18:46:39 +0000 (00:16 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 19:59:55 +0000 (20:59 +0100)
commit11f164d11187331985f8550df9738a588792adf9
treef9c199bcb50784b6fe9e5c5edcdc900a2f7822c1
parentba2694da2cbb9a86e9e875b4d1f952b8e745d060
mtd: devices: elm: Low power transition support

ELM is used for locating bit-flip errors in when using BCH ECC scheme.
This patch adds suspend/resume support for leaf level ELM driver,
And also provides ELM register context save & restore support, so that
configurations are preserved across hardware power-off/on transitions.

Signed-off-by: Philip Avinash <avinashphilip@ti.com>
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/devices/elm.c