[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1611559047-106928-1-git-send-email-abaci-bugfix@linux.alibaba.com>
Date: Mon, 25 Jan 2021 15:17:27 +0800
From: Jiapeng Zhong <abaci-bugfix@...ux.alibaba.com>
To: perex@...ex.cz
Cc: tiwai@...e.com, kai.vehmanen@...ux.intel.com,
pierre-louis.bossart@...ux.intel.com,
guennadi.liakhovetski@...ux.intel.com, kai.heng.feng@...onical.com,
rppt@...nel.org, hui.wang@...onical.com,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
Jiapeng Zhong <abaci-bugfix@...ux.alibaba.com>
Subject: [PATCH] ALSA: hda: Assign boolean values to a bool variable
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@...ux.alibaba.com>
Signed-off-by: Jiapeng Zhong <abaci-bugfix@...ux.alibaba.com>
---
sound/pci/hda/hda_intel.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 5a50d3a..24e9762 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -2304,7 +2304,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
--
1.8.3.1
Powered by blists - more mailing lists