summaryrefslogtreecommitdiff
path: root/drivers/video/tegra/dc/dc.c
diff options
context:
space:
mode:
authorMatt Wagner <mwagner@nvidia.com>2011-09-01 15:09:40 -0700
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:28 -0800
commit757dbbe9de58675646e603e7d0f7a081624617fa (patch)
treebe476921e278fa4791712798eaeb112c11d2b04b /drivers/video/tegra/dc/dc.c
parentdc99490d1a30d3dde9cc4bc5af5f9956466dbccc (diff)
video: tegra: Phase in DIDIM
Settings in DIDIM driver are now phased in over a defined number of steps in order to minimize the perception of changes to the settings during runtime Bug 840155 Reviewed-on: http://git-master/r/52495 (cherry picked from commit a33d4f5c677b657751fd017f8419df88016122a5) Change-Id: I0af84609d0f2ebadf23463473ebf0211dfa594a3 Reviewed-on: http://git-master/r/55789 Reviewed-by: Varun Colbert <vcolbert@nvidia.com> Tested-by: Varun Colbert <vcolbert@nvidia.com> Rebase-Id: R759433a3cfd9b4c07216da4b2c9de6e515a8530d
Diffstat (limited to 'drivers/video/tegra/dc/dc.c')
-rw-r--r--drivers/video/tegra/dc/dc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/tegra/dc/dc.c b/drivers/video/tegra/dc/dc.c
index 1825d21..f01c853 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1909,7 +1909,7 @@ static void tegra_dc_vblank(struct work_struct *work)
tegra_dc_program_bandwidth(dc);
/* Update the SD brightness */
- if (dc->enabled)
+ if (dc->enabled && dc->out->sd_settings)
nvsd_updated = nvsd_update_brightness(dc);
mutex_unlock(&dc->lock);