未验证 提交 1597bfbf 编写于 作者: J Jason Yan 提交者: Mark Brown

ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()

Fix the following coccicheck warning:

sound/soc/ti/omap-mcbsp.c:1188:5-11: WARNING: Comparison to bool
Signed-off-by: NJason Yan <yanaijie@huawei.com>
Acked-by: NJarkko Nikula <jarkko.nikula@bitmer.com>
Link: https://lore.kernel.org/r/20200426094238.23914-1-yanaijie@huawei.comSigned-off-by: NMark Brown <broonie@kernel.org>
上级 e66f3853
......@@ -1185,7 +1185,7 @@ static int omap_mcbsp_dai_set_dai_fmt(struct snd_soc_dai *cpu_dai,
default:
return -EINVAL;
}
if (inv_fs == true)
if (inv_fs)
regs->pcr0 ^= FSXP | FSRP;
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册