summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2016-08-17 17:34:22 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2016-09-29 14:58:24 +0200
commit1da0cfd1d0236448eb83c59ce55f0c9d0ff84bbe (patch)
treebc98697ba1e579b0165814d86b061bfab2937caa
parentf02261c8e972bc21293ea495b057c1c1878f112f (diff)
media: tegra: fix gcc-6 compilation
drivers/media/platform/tegra/dw9718.c:627:6: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (info->s_mode != NVC_SYNC_STEREO) ^~ Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com> Acked-by: Max Krummenacher <max.krummenacher@toradex.com>
-rw-r--r--drivers/media/platform/tegra/dw9718.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/tegra/dw9718.c b/drivers/media/platform/tegra/dw9718.c
index 6797e0166551..3e879834db7f 100644
--- a/drivers/media/platform/tegra/dw9718.c
+++ b/drivers/media/platform/tegra/dw9718.c
@@ -626,8 +626,8 @@ static int dw9718_param_wr(struct dw9718_info *info, unsigned long arg)
} else {
if (info->s_mode != NVC_SYNC_STEREO)
dw9718_pm_wr(info->s_info,
- NVC_PWR_OFF);
- err = -EIO;
+ NVC_PWR_OFF);
+ err = -EIO;
}
} else {
err = -EINVAL;