summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-tegra20-sflash.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-07-27 12:21:52 +0100
committerMark Brown <broonie@linaro.org>2013-07-29 17:12:35 +0100
commitbb249aad82b93674281d8b76a0c9be2ba1d92d78 (patch)
treec2c81de29e0414d871d3f33c405b5c21bba97592 /drivers/spi/spi-tegra20-sflash.c
parent5ae90d8e467e625e447000cb4335c4db973b1095 (diff)
spi/tegra114: Factor runtime PM out into transfer prepare/unprepare
Currently the tegra114 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-sflash.c')
0 files changed, 0 insertions, 0 deletions