Messages in this thread | | | From | Boris Brezillon <> | Subject | Re: [v2,1/5] mtd: spi-nor: don't drop sfdp data if optional parsers fail | Date | Thu, 15 Nov 2018 14:25:31 +0100 |
| |
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@nxp.com> > Suggested-by: Boris Brezillon <boris.brezillon@bootlin.com> > Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Applied to http://git.infradead.org/linux-mtd.git mtd/fixes, thanks.
Boris
| |