[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181115132531.15649-1-boris.brezillon@bootlin.com>
Date: Thu, 15 Nov 2018 14:25:31 +0100
From: Boris Brezillon <boris.brezillon@...tlin.com>
To: Tudor.Ambarus@...rochip.com, marek.vasut@...il.com,
dwmw2@...radead.org, computersforpeace@...il.com, richard@....at
Cc: Boris Brezillon <boris.brezillon@...tlin.com>,
yogeshnarayan.gaur@....com, linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org, cyrille.pitchen@...ev4u.fr
Subject: Re: [v2,1/5] mtd: spi-nor: don't drop sfdp data if optional parsers fail
On Fri, 2018-11-09 at 16:56:48 UTC, wrote:
> JESD216C states that just the Basic Flash Parameter Table is mandatory.
> Already defined (or future) additional parameter headers and tables are
> optional.
>
> Don't drop already collected sfdp data in case an optional table
> parser fails. In case of failing, each optional parser is responsible
> to roll back to the previously known spi_nor data.
>
> Fixes: b038e8e3be72 ("mtd: spi-nor: parse SFDP Sector Map Parameter Table")
> Reported-by: Yogesh Gaur <yogeshnarayan.gaur@....com>
> Suggested-by: Boris Brezillon <boris.brezillon@...tlin.com>
> Signed-off-by: Tudor Ambarus <tudor.ambarus@...rochip.com>
Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.
Boris
Powered by blists - more mailing lists