diff options
author | Benedikt Niedermayr <benedikt.niedermayr@siemens.com> | 2022-12-09 12:28:28 +0100 |
---|---|---|
committer | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-12-27 09:51:24 +0100 |
commit | 827e0920dbfb0d92416e56081d70745597403446 (patch) | |
tree | 9c79dc8198a1ff2b627cd3a4ed86c76b060e6696 /drivers/memory/atmel-ebi.c | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | lwn-827e0920dbfb0d92416e56081d70745597403446.tar.gz lwn-827e0920dbfb0d92416e56081d70745597403446.zip |
memory: omap-gpmc: fix wait pin validation
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)
...
Signed-off-by: Benedikt Niedermayr <benedikt.niedermayr@siemens.com>
Fixes: 8dd7e4af5853 ("memory: omap-gpmc: fix coverity issue "Control flow issues"")
Acked-by: Roger Quadros <rogerq@kernel.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20221209112828.581491-1-benedikt.niedermayr@siemens.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Diffstat (limited to 'drivers/memory/atmel-ebi.c')
0 files changed, 0 insertions, 0 deletions