summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-slink.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-27 12:29:58 +0100
committerMark Brown <broonie@linaro.org>2013-07-29 17:12:36 +0100
commit9f178c22fb0e88f4e84f7a66be8326f63b91e7e3 (patch)
treefef8c45930e90a6b7106fd14b15e9dd72c44f851 /drivers/spi/spi-tegra20-slink.c
parentbb249aad82b93674281d8b76a0c9be2ba1d92d78 (diff)
downloadlinux-9f178c22fb0e88f4e84f7a66be8326f63b91e7e3.tar.gz
linux-9f178c22fb0e88f4e84f7a66be8326f63b91e7e3.tar.bz2
linux-9f178c22fb0e88f4e84f7a66be8326f63b91e7e3.zip
spi/tegra-sflash: Factor runtime PM out into transfer prepare/unprepare
Currently the tegra sflash driver acquires a runtime PM reference for the duration of each transfer. This may result in the IP being powered down between transfers which would be at best wasteful. Instead it is better to do this in the callbacks that are generated before and after starting a series of transfers, keeping the IP powered throughout. Signed-off-by: Mark Brown <broonie@linaro.org> Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/spi/spi-tegra20-slink.c')
0 files changed, 0 insertions, 0 deletions