[PATCH 09/33] ARM: ux500: Supply the I2C clocks lookup to the DBX500 DT

Sascha Hauer s.hauer at pengutronix.de
Thu Aug 22 17:19:12 EDT 2013

On Thu, Aug 22, 2013 at 04:41:16PM +0100, Lee Jones wrote:
> When most of the other clocks that we deal with are being requested,
> they rely on being index zero:
>   drivers/i2c/busses/i2c-nomadik.c: dev->clk = clk_get(&adev->dev, NULL);

Once a device has more than a single clock all clocks should have a
connection id. clk_get(dev, NULL) should only be used for single clock
devices. Look at drivers/clk/clkdev.c, there's some fuzzy matching
involved when you pass NULL as connection id.


Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

More information about the linux-arm-kernel mailing list