spi: tegra: use run time pm apis for clock control
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 30 Jan 2012 11:28:45 +0000 (16:28 +0530)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Tue, 31 Jan 2012 12:44:28 +0000 (04:44 -0800)
commitc8932c9184978b42398fd582592315cbbf507415
tree8ac19e5d621fd962e053ad1b563d47822f5352d2
parentdcde905cf7aa475d2c925d47fd1148febc23134d
spi: tegra: use run time pm apis for clock control

Used run time apis for clock controls i.e. clock enable/
disable in place of direct clock apis.
Using of runtime pm api was already implemented but it was
missed on probe where it was calling clock_disable.
Fixing this issue.

bug 928541

Change-Id: I511467bd1cbe05f2a05d219d19236426a30d05d5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/78156
Reviewed-by: Venu Byravarasu <vbyravarasu@nvidia.com>
Reviewed-by: Ashwini Ghuge <aghuge@nvidia.com>
drivers/spi/spi-tegra.c