projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15f733
)
ALSA: hda: Assign boolean values to a bool variable
author
Jiapeng Zhong
<abaci-bugfix@linux.alibaba.com>
Mon, 25 Jan 2021 07:17:27 +0000
(15:17 +0800)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 25 Jan 2021 07:57:12 +0000
(08:57 +0100)
Fix the following coccicheck warnings:
./sound/pci/hda/hda_intel.c:2309:3-23: WARNING: Assignment of
0/1 to bool variable.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@linux.alibaba.com>
Link:
https://lore.kernel.org/r/1611559047-106928-1-git-send-email-abaci-bugfix@linux.alibaba.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_intel.c
b/sound/pci/hda/hda_intel.c
index 7f0000e2c9539e5258dee8a524475d8d8cbfd4c1..6c439f377a7ec796e4096aa5a0c231f7c6c13a3b 100644
(file)
--- a/
sound/pci/hda/hda_intel.c
+++ b/
sound/pci/hda/hda_intel.c
@@
-2300,7
+2300,7
@@
static int azx_probe_continue(struct azx *chip)
/* HSW/BDW controllers need this power */
if (CONTROLLER_IN_GPU(pci))
- hda->need_i915_power =
1
;
+ hda->need_i915_power =
true
;
}
/* Request display power well for the HDA controller or codec. For