Re: [PATCH v5 3/4] mtd: rawnand: brcmnand: pass host struct to bcmnand_ctrl_poll_status

From: Florian Fainelli
Date: Sat Nov 25 2023 - 12:23:31 EST




On 11/24/2023 5:24 PM, dregan@xxxxxxxxxxxx wrote:
From: David Regan <dregan@xxxxxxxxxxxx>

Pass host struct to bcmnand_ctrl_poll_status instead of ctrl struct
since real time status requires host, and ctrl is a member of host.
Real time status is required for low level commands vs cached status
since the NAND controller will not do an automatic status read at the
end of a low level command as it would with a high level command.

Signed-off-by: David Regan <dregan@xxxxxxxxxxxx>

Reviewed-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
--
Florian