]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
video: tegra: dc: cleanup cursor suspend code
authorNaveen Kumar S <nkumars@nvidia.com>
Tue, 5 Jan 2016 11:56:30 +0000 (17:26 +0530)
committerWinnie Hsu <whsu@nvidia.com>
Fri, 8 Jan 2016 23:02:06 +0000 (15:02 -0800)
commitc1e96e86172d5c91fdd6e952713f43f774e7eeca
treec3d71fd696c19ef0f663eb5ebdd2d77bbf7236a3
parente333c18437c8125f04b6c5bdd99cf9ae2b765ff2
video: tegra: dc: cleanup cursor suspend code

DC_DISP_DISP_WIN_OPTIONS was being read but not updated
with ~CURSOR_ENABLE. Removed redundant code and used
existing function set_cursor_enable() which writes back
to DC_DISP_DISP_WIN_OPTIONS to suspend cursor.

bug 200146453

Change-Id: Ie1f9d73e899aa65e58576d743d720a077ce8d1c8
Signed-off-by: Naveen Kumar S <nkumars@nvidia.com>
Reviewed-on: http://git-master/r/929065
(cherry picked from commit 87f4831a3563bcb4146f0ac83d0fe6d981748317)
Reviewed-on: http://git-master/r/930302
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
drivers/video/tegra/dc/cursor.c