Re: [PATCH] mtd:spi-nor: Add lock and unlock callback functions to struct spi_nor

2015-03-27 Thread Brian Norris
On Fri, Mar 20, 2015 at 09:15:48AM +0800, Viet Nga Dao wrote: > On Fri, Mar 20, 2015 at 1:49 AM, Brian Norris > wrote: > > On Mon, Mar 16, 2015 at 01:15:14AM -0700, vn...@altera.com wrote: > >> From: VIET NGA DAO > >> > >> This patch introduces a properly-replaceable spi_nor callback that does >

Re: [PATCH] mtd:spi-nor: Add lock and unlock callback functions to struct spi_nor

2015-03-19 Thread Viet Nga Dao
Hi Brian, On Fri, Mar 20, 2015 at 1:49 AM, Brian Norris wrote: > Hi Viet, > > On Mon, Mar 16, 2015 at 01:15:14AM -0700, vn...@altera.com wrote: >> From: VIET NGA DAO >> >> This patch introduces a properly-replaceable spi_nor callback that does >> flash specific lock and unlock. The existing code

Re: [PATCH] mtd:spi-nor: Add lock and unlock callback functions to struct spi_nor

2015-03-19 Thread Brian Norris
Hi Viet, On Mon, Mar 16, 2015 at 01:15:14AM -0700, vn...@altera.com wrote: > From: VIET NGA DAO > > This patch introduces a properly-replaceable spi_nor callback that does > flash specific lock and unlock. The existing code for spi_nor_lock and > spi_nor_unlock is moved into their own functions

[PATCH] mtd:spi-nor: Add lock and unlock callback functions to struct spi_nor

2015-03-16 Thread vndao
From: VIET NGA DAO This patch introduces a properly-replaceable spi_nor callback that does flash specific lock and unlock. The existing code for spi_nor_lock and spi_nor_unlock is moved into their own functions which are stm_lock and stm_unlock. Signed-off-by: VIET NGA DAO --- drivers/mtd/spi-