]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: sor: Factor out tegra_sor_set_parent_clock()
authorThierry Reding <treding@nvidia.com>
Mon, 3 Aug 2015 12:23:29 +0000 (14:23 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 1 Jul 2016 12:42:01 +0000 (14:42 +0200)
commit961507447cdee15d5562f1e32771b8b4bdd15452
treef8d68ae61a35be1c4af1d2308a0e257c4573efbf
parent994a0104a2a1e693da7655d1aa2fe972566abf87
drm/tegra: sor: Factor out tegra_sor_set_parent_clock()

Switching the SOR parent clock can glitch if done while the clock is
enabled. Extract a common function that can be used to disable the
module clock, switch the parent and reenable the module clock.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/sor.c