diff options
| author | 2021-06-29 18:08:15 +0800 | |
|---|---|---|
| committer | 2021-07-11 23:51:46 +0100 | |
| commit | 162a31effc4182dd5a0675d9fd0336d5096e0ad3 (patch) | |
| tree | 5f113898a7fe993b3f97f1f1c17a7af12ffdcb33 /include/linux/phy/git:/ssh:/git@git.zx2c4.com | |
| parent | spi: mediatek: update spi master bingdings for MT6893 SOC (diff) | |
| download | linux-dev-162a31effc4182dd5a0675d9fd0336d5096e0ad3.tar.xz linux-dev-162a31effc4182dd5a0675d9fd0336d5096e0ad3.zip | |
spi: mediatek: add no_need_unprepare support
This patch add no_need_unprepare support for spi, if spi src clk is
MAIN PLL, it can keep the clk_prepare and will not cause low power
issue. So we no need do clk_prepare/clk_unprepare in runtime pm,
and it will get better performance, because clk_prepare has called
mutex lock.
In the same way,
clk_get_rate also has called mutex lock, so we moved it to spi_probe.
Signed-off-by: Mason Zhang <Mason.Zhang@mediatek.com>
Link: https://lore.kernel.org/r/20210629100814.21402-1-mason.zhang@mediatek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/phy/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
