Skip to content
Snippets Groups Projects
Commit 144faeef authored by Clark Wang's avatar Clark Wang Committed by Dong Aisheng
Browse files

MLK-24581-1 lpi2c: fix type char overflow issue when calculating the clock cycle


Claim clkhi and clklo as integer type to avoid possible calculation
errors caused by data overflow.

Reviewed-by: default avatarFugang Duan <fugang.duan@nxp.com>
Signed-off-by: default avatarClark Wang <xiaoning.wang@nxp.com>
parent 6bdc3f38
No related branches found
No related tags found
Loading
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