OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e66f385
)
ASoC: ti: remove comparison to bool in omap_mcbsp_dai_set_dai_fmt()
author
Jason Yan
<yanaijie@huawei.com>
Sun, 26 Apr 2020 09:42:38 +0000
(17:42 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 27 Apr 2020 13:08:42 +0000
(14:08 +0100)
Fix the following coccicheck warning:
sound/soc/ti/omap-mcbsp.c:1188:5-11: WARNING: Comparison to bool
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Link:
https://lore.kernel.org/r/20200426094238.23914-1-yanaijie@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/omap-mcbsp.c
patch
|
blob
|
history
diff --git
a/sound/soc/ti/omap-mcbsp.c
b/sound/soc/ti/omap-mcbsp.c
index
3d41ca2
..
0348963
100644
(file)
--- a/
sound/soc/ti/omap-mcbsp.c
+++ b/
sound/soc/ti/omap-mcbsp.c
@@
-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;