diff options
author | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2016-08-17 17:35:47 +0200 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2016-09-29 14:58:30 +0200 |
commit | 0f0adbd52a3c0faf0b5d4fbd3f54f4cf576158f9 (patch) | |
tree | aed4a31dab764777f05a266e601f4e74c9c79e71 | |
parent | 1da0cfd1d0236448eb83c59ce55f0c9d0ff84bbe (diff) |
media: platform: tegra: fix gcc-6 compilation
drivers/media/platform/tegra/ad5816.c: In function 'ad5816_param_wr':
drivers/media/platform/tegra/ad5816.c:682: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/ad5816.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/tegra/ad5816.c b/drivers/media/platform/tegra/ad5816.c index d86ace760940..a8274b4aebb5 100644 --- a/drivers/media/platform/tegra/ad5816.c +++ b/drivers/media/platform/tegra/ad5816.c @@ -681,8 +681,8 @@ static int ad5816_param_wr(struct ad5816_info *info, unsigned long arg) } else { if (info->s_mode != NVC_SYNC_STEREO) ad5816_pm_wr(info->s_info, - NVC_PWR_OFF); - err = -EIO; + NVC_PWR_OFF); + err = -EIO; } } else { err = -EINVAL; |