i2c: lpc32xx: use api to get hclk instead of fix value
The HCLK is not constant and can take different value; use the api function to get the value of the HCLK for the I2C clock high and low computation.
Signed-off-by: NSylvain Lemieux <slemieux@tycoint.com>
Showing
想要评论请 注册 或 登录