[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <165105175022.2301505.17772932971669614523.b4-ty@ti.com>
Date: Wed, 27 Apr 2022 15:01:18 +0530
From: Pratyush Yadav <p.yadav@...com>
To: Vignesh Raghavendra <vigneshr@...com>,
Michael Walle <michael@...le.cc>,
Tudor Ambarus <tudor.ambarus@...rochip.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Chen-Tsung Hsieh <chentsung@...omium.org>
CC: <linux-kernel@...r.kernel.org>, <linux-mtd@...ts.infradead.org>
Subject: Re: [RESEND PATCH] mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()
On Wed, 26 Jan 2022 15:32:26 +0800, Chen-Tsung Hsieh wrote:
> Read back Status Register 1 to ensure that the written byte match the
> received value and return -EIO if read back test failed.
>
> Without this patch, spi_nor_write_16bit_sr_and_check() only check the
> second half of the 16bit. It causes errors like spi_nor_sr_unlock()
> return success incorrectly when spi_nor_write_16bit_sr_and_check()
> doesn't write SR successfully.
>
> [...]
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git spi-nor/next, thanks!
[1/1] mtd: spi-nor: core: Check written SR value in spi_nor_write_16bit_sr_and_check()
https://git.kernel.org/mtd/c/70dd83d737
--
Regards,
Pratyush Yadav
Texas Instruments Inc.
Powered by blists - more mailing lists