]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
i2c: lpc32xx: use api to get hclk instead of fix value
authorSylvain Lemieux <slemieux@tycoint.com>
Mon, 27 Jul 2015 17:37:37 +0000 (13:37 -0400)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:12 +0000 (10:24 +0200)
commit046d8486a16b7556500cbb77f200a0439054916b
treeca9f24e87b4a8f3153570288a6984813a5886adc
parentef19436c03c829be969018b5aa06265af326cabf
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>
drivers/i2c/lpc32xx_i2c.c