diff options
author | Bibek Basu <bbasu@nvidia.com> | 2015-08-17 16:48:59 +0530 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2015-08-25 11:36:57 -0700 |
commit | 1f780e61562572ce809de0592a4ab6967d21267e (patch) | |
tree | 9af0a0df4e280a4e0bcef0067f5e262867f9da62 /arch | |
parent | fb27f592bdfe703c5b43550d4aded73ab08d4622 (diff) |
video: tegra: dc: handle tegra_dc_sync_windows error
In case tegra_dc_sync_windows is interrupted by signal,
return the error to caller application
Bug 200090492
Change-Id: Id69fbe38d0abe0b3e71eb5a413db241ebcf0a0ae
Signed-off-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-on: http://git-master/r/784754
GVS: Gerrit_Virtual_Submit
Reviewed-by: Winnie Hsu <whsu@nvidia.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/dc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/include/mach/dc.h b/arch/arm/mach-tegra/include/mach/dc.h index 2ec68436eace..00ae4cb2c9f8 100644 --- a/arch/arm/mach-tegra/include/mach/dc.h +++ b/arch/arm/mach-tegra/include/mach/dc.h @@ -812,7 +812,7 @@ bool tegra_dc_has_vsync(struct tegra_dc *dc); void tegra_dc_vsync_enable(struct tegra_dc *dc); void tegra_dc_vsync_disable(struct tegra_dc *dc); int tegra_dc_wait_for_vsync(struct tegra_dc *dc); -void tegra_dc_blank(struct tegra_dc *dc, unsigned windows); +int tegra_dc_blank(struct tegra_dc *dc, unsigned windows); int tegra_dc_restore(struct tegra_dc *dc); void tegra_dc_enable(struct tegra_dc *dc); |