sound/pci/hda: boolean values to a bool variable
PATCH 1/1 sound/pci/hda: boolean values to a bool variable
Fix the following coccicheck warnings:
./sound/pci/hda/patch_conexant.c:570:2-20: WARNING:
Assignment of 0/1 to bool variable.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Zhong <[email protected]>
--- sound/pci/hda/patch_conexant.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/pci/hda/patch_conexant.c +1 -1
@@ -567,7 +567,7 @@ static void cxt_fixup_mute_led_eapd(struct hda_codec *codec,if (action ==HDA_FIXUP_ACT_PRE_PROBE ) { spec->mute_led_eapd =0x1b ; - spec->dynamic_eapd =1 ; + spec->dynamic_eapd = true;snd_hda_gen_add_mute_led_cdev (codec, cx_auto_vmaster_mute_led); } }
Signature · 1 line
1.8.3.1
Takashi Iwai
AppliedQuoted 8 lines · Jiapeng Zhong
Fix the following coccicheck warnings:
./sound/pci/hda/patch_conexant.c:570:2-20: WARNING:
Assignment of 0/1 to bool variable.Reported-by Abaci Robot <[email protected]>Signed-off-by Jiapeng Zhong <[email protected]>
Applied, thanks.
Takashi