Commit 827e092
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 <[email protected]>
Fixes: 8dd7e4a ("memory: omap-gpmc: fix coverity issue "Control flow issues"")
Acked-by: Roger Quadros <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>1 parent 1b929c0 commit 827e092
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1918 | 1918 | | |
1919 | 1919 | | |
1920 | 1920 | | |
1921 | | - | |
| 1921 | + | |
| 1922 | + | |
1922 | 1923 | | |
1923 | 1924 | | |
1924 | 1925 | | |
| |||
0 commit comments