[PATCH] mtd: spi-nor: swp: check SR_TB flag when getting tb_mask

Pratyush Yadav pratyush at kernel.org
Fri Mar 13 04:15:15 PDT 2026


On Wed, Jan 28 2026, Shiji Yang wrote:

> When the chip does not support top/bottom block protect, the tb_mask
> must be set to 0, otherwise SR1 bit5 will be unexpectedly modified.
>
> Signed-off-by: Shiji Yang <yangshiji66 at outlook.com>

Applied to spi-nor/next. Thanks!

[...]

-- 
Regards,
Pratyush Yadav



More information about the linux-mtd mailing list