ARM: tegra: add refcount to powergate for display
authorJon Mayo <jmayo@nvidia.com>
Thu, 6 Dec 2012 21:55:27 +0000 (13:55 -0800)
committerRohan Somvanshi <rsomvanshi@nvidia.com>
Mon, 17 Dec 2012 14:44:41 +0000 (06:44 -0800)
commit54672ad1d22d4b3fd7f5710ca425dfa4bb1ebdd7
treef3e936f488b63c03a3a19001e5fa3281515bb1cc
parent7f0375bc2c3b59da73d1e8fb86891d3f8e0c1083
ARM: tegra: add refcount to powergate for display

Keep a refcount for DISA and DISB power domains, as they are shared between
multiple drivers.

Bug 1178366

Change-Id: I30edf2d4922705f15c762342d9f502880f1e01b7
Signed-off-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-on: http://git-master/r/169147
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
(cherry picked from commit 90857943e05b375f9a1f685c759edf2e762d01eb)
Reviewed-on: http://git-master/r/171211
arch/arm/mach-tegra/powergate.c
drivers/video/tegra/dc/dc_priv.h
drivers/video/tegra/dc/hdmi.c