Re: [PATCH 2/5] mtd: spi-nor: group the code about the write protection at power-up

2019-08-04 Thread Tudor.Ambarus
On 08/05/2019 08:44 AM, Vignesh Raghavendra wrote: >> From: Tudor Ambarus >> >> The write protection at power-up logic was split across functions >> because of a dependency to spansion_quad_enable(). Group the code >> in spi_nor_init() as the pointer to spansion_quad_enable() can be >> retrieved

Re: [PATCH 2/5] mtd: spi-nor: group the code about the write protection at power-up

2019-08-04 Thread Vignesh Raghavendra
On 17/07/19 2:18 PM, tudor.amba...@microchip.com wrote: > From: Tudor Ambarus > > The write protection at power-up logic was split across functions > because of a dependency to spansion_quad_enable(). Group the code > in spi_nor_init() as the pointer to spansion_quad_enable() can be > retrieve

[PATCH 2/5] mtd: spi-nor: group the code about the write protection at power-up

2019-07-17 Thread Tudor.Ambarus
From: Tudor Ambarus The write protection at power-up logic was split across functions because of a dependency to spansion_quad_enable(). Group the code in spi_nor_init() as the pointer to spansion_quad_enable() can be retrieved from nor->quad_enable. While touching this code, rename nor->clear_s