Skip to content
Commit 03271ea3 authored by david regan's avatar david regan Committed by Miquel Raynal
Browse files

mtd: rawnand: brcmnand: fix status read of brcmnand_waitfunc



This change fixes an issue where an error return value may be mistakenly
used as NAND status.

Fixes: f504551b ("mtd: rawnand: Propagate error and simplify ternary operators for brcmstb_nand_wait_for_completion()")
Signed-off-by: default avatardavid regan <dregan@broadcom.com>
Reviewed-by: default avatarWilliam Zhang <william.zhang@broadcom.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 1a50e361
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment