aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiapeng Zhong <[email protected]>2021-01-18 16:27:49 +0800
committerTakashi Iwai <[email protected]>2021-01-24 09:12:31 +0100
commitd15f73315deb45fccbf44c6a4024d430bbb26b0c (patch)
treef8d5fc42bdba348bae2d97ad4301f20665be595d
parent85db1cfb13e37d24be225739dc0e2da478dd2c1c (diff)
ALSA: 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]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
-rw-r--r--sound/pci/hda/patch_conexant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index d49cc4409d59..f2aa226d1373 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -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);
}
}