commit | b395a996a65572a5e64d648ac4dc4d43a53ea38b | [log] [tgz] |
---|---|---|
author | Sylvain Lemieux <slemieux@tycoint.com> | Mon Jul 27 13:37:37 2015 -0400 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 17 08:11:49 2015 -0400 |
tree | 3a9991050f74b264317c3773fc2d490eb1d067fd | |
parent | 2783fe6903f58e4d18ba72f044fa9ebffc6df810 [diff] |
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: Sylvain Lemieux <slemieux@tycoint.com>