[PATCH v4 23/31] serial: mpc512x: setup the PSC FIFO clock as well
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2013-08-12 18:27:52
Also in:
linuxppc-dev
From: gregkh@linuxfoundation.org (Greg Kroah-Hartman)
Date: 2013-08-12 18:27:52
Also in:
linuxppc-dev
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 <redacted>Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>