boards/boardctl: correct boarctl return value
Summary: - Correct boardctl function's return value - In case of BOARDIOC_TESTSET, `ret' has 0 or 1 or an error, but `ret' is ignored except error. Impact: - boardctl return value except errors Testing: - custom Cortex-A9 board Signed-off-by: Oki Minabe <minabe.oki@gmail.com>
This commit is contained in:
parent
3942f4d133
commit
54508a3798
@ -823,7 +823,7 @@ int boardctl(unsigned int cmd, uintptr_t arg)
|
||||
return ERROR;
|
||||
}
|
||||
|
||||
return OK;
|
||||
return ret;
|
||||
}
|
||||
|
||||
#endif /* CONFIG_BOARDCTL */
|
||||
|
Loading…
Reference in New Issue
Block a user