[PATCH v4 23/31] serial: mpc512x: setup the PSC FIFO clock as well

Greg Kroah-Hartman gregkh at linuxfoundation.org
Tue Aug 13 04:27:52 EST 2013


On Tue, Aug 06, 2013 at 10:44:03PM +0200, Gerhard Sittig wrote:
> prepare and enable the FIFO clock upon PSC FIFO initialization,
> check for and propagage errors when enabling the PSC FIFO clock,
> disable and unprepare the FIFO clock upon PSC FIFO uninitialization,
> remove the pre-enable workaround from the platform's clock driver
> 
> devm_{get,put}_clk() doesn't apply here, as the SoC provides a
> single FIFO component which is shared among several PSC components,
> thus the FIFO isn't associated with a device (while the PSCs are)
> 
> Signed-off-by: Gerhard Sittig <gsi at denx.de>

Acked-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>


More information about the Linuxppc-dev mailing list