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

Brian Norris
2014-12-01T08:19:48Z

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@gmail.com>

Applied to l2-mtd.git