Re: [PATCH] tmio_mmc: Optionally support using platform clock

From: Ian Molton
Date: Tue Jul 28 2009 - 09:40:23 EST


Guennadi Liakhovetski wrote:
If the platform device has a clock associated with the tmio-mmc device, use it.

As RMK has stated manny times before now, you cannot pass struct clks to devices like this, they should be claimed using the clk api.

The problem for tmio-mmc is that the struct clk is tied to the architecture code, so at present we cant create new clk providers. What we need is for the clk api to be divorced from the arch code so that the TMIO MFD driver can create its own clocks that can be claimed by its children.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/