From fc94b2d37963c4ddc43c3f78701cbf744923b7eb Mon Sep 17 00:00:00 2001 From: Marcel Ziswiler Date: Thu, 18 Aug 2016 08:41:38 +0200 Subject: asoc: tegra: fix gcc-6 compilation sound/soc/tegra/tegra30_dam.c: In function 'tegra30_dam_probe': sound/soc/tegra/tegra30_dam.c:620:3: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if ((i == TEGRA30_DAM_CTRL_RSVD_6) || ^~ sound/soc/tegra/tegra30_dam.c:624:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' dam->reg_cache[i] = ^~~ Signed-off-by: Marcel Ziswiler Acked-by: Max Krummenacher --- sound/soc/tegra/tegra30_dam.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sound/soc') diff --git a/sound/soc/tegra/tegra30_dam.c b/sound/soc/tegra/tegra30_dam.c index 8460266d0d66..19ec176a570e 100644 --- a/sound/soc/tegra/tegra30_dam.c +++ b/sound/soc/tegra/tegra30_dam.c @@ -618,11 +618,10 @@ static int __devinit tegra30_dam_probe(struct platform_device *pdev) for (i = 0; i <= TEGRA30_DAM_CTRL_REGINDEX; i++) { if ((i == TEGRA30_DAM_CTRL_RSVD_6) || - (i == TEGRA30_DAM_CTRL_RSVD_10)) + (i == TEGRA30_DAM_CTRL_RSVD_10)) continue; - dam->reg_cache[i] = - tegra30_dam_readl(dam, i << 2); + dam->reg_cache[i] = tegra30_dam_readl(dam, i << 2); } tegra30_dam_disable_clock(pdev->id); -- cgit v1.2.3