Commit 056436a
fixup! ASoC:Add Hifiberry Studio DAC8x soundcard driver
* Fixes build with Clang.
sound/soc/bcm/hifiberry_studio_dac8x.c:770:41: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality]
770 | if ((priv->card_info.card_clk_options == 0x02)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
sound/soc/bcm/hifiberry_studio_dac8x.c:770:41: note: remove extraneous parentheses around the comparison to silence this warning
770 | if ((priv->card_info.card_clk_options == 0x02)) {
| ~ ^ ~
sound/soc/bcm/hifiberry_studio_dac8x.c:770:41: note: use '=' to turn this equality comparison into an assignment
770 | if ((priv->card_info.card_clk_options == 0x02)) {
| ^~
| =
1 error generated.1 parent d51a12f commit 056436a
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
767 | 767 | | |
768 | 768 | | |
769 | 769 | | |
770 | | - | |
| 770 | + | |
771 | 771 | | |
772 | 772 | | |
773 | 773 | | |
| |||
0 commit comments