Skip to content
Snippets Groups Projects
Commit 1af0c4cd authored by Han Xu's avatar Han Xu Committed by OpenEmbedded
Browse files

LF-1723: spi: lpspi: run perclk_rate sanity check


Coverity reports Division or modulo by zero potential issue(CWE-369)
about the perclk_rate calculation. Run sanity check first to avoid this
problem.

Signed-off-by: default avatarHan Xu <han.xu@nxp.com>
Reviewed-by: default avatarFrank Li <frank.li@nxp.com>
parent 422bf8d0
1 merge request!288[i.MX8QM] lpspi fixes
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment