Messages in this thread |  | | Date | Tue, 8 Jan 2013 11:02:28 +0000 | From | Mark Brown <> | Subject | Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data |
| |
On Mon, Jan 07, 2013 at 12:44:34PM +0200, Mika Westerberg wrote: > If the architecture doesn't support clk framework (like x86) we need a way to > pass the SSP clock rate to the driver. This patch adds a field in the platform > data 'fixed_clk_rate' that allows passing the rate.
No, the way to do this is to fix x86 to enable the clock API there. The x86 maintainers couldn't be bothered when I submitted a patch and getting anyone to take a patch to make it available by default appears to be unreasonably hard but perhaps if someone from Intel tries the x86 maintainers might take a patch...
We shouldn't be adding special case code to every driver that might need a clock that gets used on an Intel system. [unhandled content-type:application/pgp-signature] |  |