aboutsummaryrefslogtreecommitdiff
path: root/sound/pci
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-02-07 15:02:41 +0800
committerTakashi Iwai <tiwai@suse.de>2021-02-07 09:49:04 +0100
commitc237813e3a1039331cf3d0bffba895b0ab52710a (patch)
treeb5ad00669f7bd7275b41372fd77fc94cb1816cf0 /sound/pci
parentfee03efc69345344c8851596d74d93199b175bfe (diff)
downloadlinux-c237813e3a1039331cf3d0bffba895b0ab52710a.tar.gz
ALSA: azt3328: Assign boolean values to a bool variable
Fix the following coccicheck warnings: ./sound/pci/azt3328.c:2451:2-16: WARNING: Assignment of 0/1 to bool variable. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Link: https://lore.kernel.org/r/1612681361-63404-1-git-send-email-jiapeng.chong@linux.alibaba.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/azt3328.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index e3ea72a2116b..2ac594dcf21c 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -2447,7 +2447,7 @@ snd_azf3328_create(struct snd_card *card,
/* shutdown codecs to reduce power / noise */
/* have ...ctrl_codec_activity() act properly */
- codec->running = 1;
+ codec->running = true;
snd_azf3328_ctrl_codec_activity(chip, codec_type, 0);
spin_lock_irq(codec->lock);