[PATCH v2] mtd: spi-nor: factor out write_enable() for erase commands
Huang Shijie
shijie.huang at intel.com
Wed Nov 5 19:39:26 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>
thanks
Acked-by: Huang Shijie <shijie.huang at intel.com>
More information about the linux-mtd
mailing list