diff options
| author | Gerhard Sittig <gsi@denx.de> | 2013-08-06 22:43:41 +0200 | 
|---|---|---|
| committer | Mark Brown <broonie@linaro.org> | 2013-08-22 11:02:07 +0100 | 
| commit | a81a5094a3287120cac148de4c9bdb2e53e5bfae (patch) | |
| tree | 110f19076264a98ba13584519810c499fd8942be /lib/debugobjects.c | |
| parent | b36f4be3de1b123d8601de062e7dbfc904f305fb (diff) | |
spi: mpc512x: cleanup clock API use
cleanup the MPC512x SoC's SPI master's use of the clock API
- get, prepare, and enable the MCLK during probe; disable, unprepare and
  put the MCLK upon remove; hold a reference to the clock over the
  period of use
- fetch MCLK rate (reference) once during probe and slightly reword BCLK
  (bitrate) determination to reduce redundancy as well as to not exceed
  the maximum text line length
- stick with the PPC_CLOCK 'psc%d_mclk' name for clock lookup, only
  switch to a fixed string later after device tree based clock lookup
  will have become available
Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
