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

spi/tegra-slink: Factor runtime PM out into transfer prepare/unprepare



Currently the tegra slink 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 9f178c22
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