Re: [PATCH] memory: omap-gpmc: fix wait pin validation

From: Tony Lindgren
Date: Mon Dec 12 2022 - 02:16:24 EST


* B. Niedermayr <benedikt.niedermayr@xxxxxxxxxxx> [221209 12:32]:
> From: Benedikt Niedermayr <benedikt.niedermayr@xxxxxxxxxxx>
>
> This bug has been introduced after switching from -1 to UINT_MAX
> for GPMC_WAITPIN_INVALID.
>
> The bug leads to an error when the optional gpmc,wait-pin
> dt-property is not used:
>
> ...
> gpmc_cs_program_settings: invalid wait-pin (-1)
> ...

This fixes the issue thanks:

Tested-by: Tony Lindgren <tony@xxxxxxxxxxx>