diff options
author | Gerhard Sittig <gsi@denx.de> | 2013-12-01 02:51:30 +0400 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2014-01-12 21:53:05 +0400 |
commit | cb1ea81230f0b5593b847d2cb3d9304e1d5e4234 (patch) | |
tree | 0bfaaf1a11d3b29fe43d811f0520b797d12d8927 /drivers/usb/host/fsl-mph-dr-of.c | |
parent | e149b42b8605f4e0e86662fe880716ccdfdb4ef9 (diff) | |
download | linux-cb1ea81230f0b5593b847d2cb3d9304e1d5e4234.tar.xz |
serial: mpc512x: setup the PSC FIFO clock as well
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
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)
provide a fallback clock lookup approach in case the OF based clock
lookup for the PSC FIFO fails, this allows for successful operation in
the presence of an outdated device tree which lacks clock specs
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: linux-serial@vger.kernel.org
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/usb/host/fsl-mph-dr-of.c')
0 files changed, 0 insertions, 0 deletions