spi: cadence: change sequence of calling runtime_enable
authorNaga Sureshkumar Relli <naga.sureshkumar.relli@xilinx.com>
Tue, 8 Aug 2017 08:59:33 +0000 (10:59 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 8 Aug 2017 09:43:16 +0000 (10:43 +0100)
commit48767fd8982d39d90a9e83b1461dc5feedf73e29
tree011d6de79350d5eb870bdbe80b9920c327f778ac
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877
spi: cadence: change sequence of calling runtime_enable

call pm_runtime_enable after set_active other wise it will
enable clock always.

Signed-off-by: Naga Sureshkumar Relli <nagasure@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cadence.c