Skip to content
Commit 9f178c22 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@linaro.org>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
parent bb249aad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment