Re: [PATCH net v3] octeon_ep: explicitly test for firmware ready value

From: Simon Horman
Date: Sun Dec 10 2023 - 06:18:30 EST


On Thu, Dec 07, 2023 at 09:56:46PM -0800, Shinas Rasheed wrote:
> The firmware ready value is 1, and get firmware ready status
> function should explicitly test for that value. The firmware
> ready value read will be 2 after driver load, and on unbind
> till firmware rewrites the firmware ready back to 0, the value
> seen by driver will be 2, which should be regarded as not ready.
>
> Fixes: 10c073e40469 ("octeon_ep: defer probe if firmware not ready")
> Signed-off-by: Shinas Rasheed <srasheed@xxxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>