[PATCH] mtd: spi-nor: Fix return value of s25_s28_mdp_ready()
Tudor Ambarus
tudor.ambarus at linaro.org
Mon Jul 28 09:18:48 CEST 2025
Hi, Takahiro,
Next time it would be good to update the subject with an increased
version, it removes any confusion.
On 7/28/25 2:13 AM, tkuw584924 at gmail.com wrote:
> From: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
>
> s25_s28_mdp_ready() returns 1 when spansion_sr_ready() returns negative
> value (error code).
> Fix this problem by following Linux implementation.
>
> Fixes: 1c3dd193b5b ("mtd: spi-nor-core: Add fixups for Cypress s25hl-t/s25hs-t")
> Reported-by: Hiroyuki Saito <Hiroyuki.Saito2 at infineon.com>
> Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano at infineon.com>
Reviewed-by: Tudor Ambarus <tudor.ambarus at linaro.org>
Cheers,
ta
More information about the U-Boot
mailing list