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
committerRyan Wong <ryanw@nvidia.com>2011-09-07 11:24:11 -0700
commite66968c944f2b99eba5a8ea40306c81bc148923e (patch)
tree72b110b4b3f6c62c0a062da1191694528a75a43f /drivers/video/tegra/dc/dc.c
parente1fa6f8826cdd1674745b54dcad8042f5d5acce5 (diff)
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 Change-Id: Id1a354dc153a432cdd08d54f197adb6b37d2fdb0 Reviewed-on: http://git-master/r/50926 Tested-by: Matt Wagner <mwagner@nvidia.com> Reviewed-by: Ryan Wong <ryanw@nvidia.com> Tested-by: Ryan Wong <ryanw@nvidia.com>
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 94580d90aff1..54d8a9f7ede1 100644
--- a/drivers/video/tegra/dc/dc.c
+++ b/drivers/video/tegra/dc/dc.c
@@ -1822,7 +1822,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);