[PATCH v2] mtd: spi-nor: factor out write_enable() for erase commands

Brian Norris computersforpeace at gmail.com
Mon Dec 1 00:19:24 PST 2014


On Wed, Nov 05, 2014 at 02:29:03AM -0800, Brian Norris wrote:
> write_enable() was being duplicated to both m25p80.c and fsl-quadspi.c.
> But this should be handled within the spi-nor abstraction layer.
> 
> At the same time, let's add write_disable() after erasing, so we don't
> leave the flash in a write-enabled state afterward.
> 
> Signed-off-by: Brian Norris <computersforpeace at gmail.com>

Applied to l2-mtd.git



More information about the linux-mtd mailing list