From: Mark Brown Date: Sat, 27 Jul 2013 11:34:24 +0000 (+0100) Subject: spi/tegra-slink: Factor runtime PM out into transfer prepare/unprepare X-Git-Tag: v3.12-rc1~192^2~11^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bafe886936a8982f5780330c901889a37bba7d4c;p=pandora-kernel.git 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: Mark Brown Acked-by: Laxman Dewangan --- Reading git-diff-tree failed