spi: cadence: Runtime pm adaptation
commitd36ccd9f7ea41f343391a15677b8a858376e1107
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 5 Apr 2016 18:07:52 +0000 (5 23:37 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 5 Apr 2016 18:51:10 +0000 (5 11:51 -0700)
treef1187aafc0c1cbf40b5c46fb7035cd99a9373714
parentb4037360e66b90755ed73022976f10108bc82045
spi: cadence: Runtime pm adaptation

Currently the clocks are enabled at probe and disabled
at remove. This patch moves the clock enable to the
start of transaction and disables at the end.

Signed-off-by: Shubhrajyoti Datta <shubhraj@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c