]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: amd: ps: replace bitwise OR with logical OR in IRQ return check
authorVijendar Mukunda <Vijendar.Mukunda@amd.com>
Tue, 7 Jul 2026 05:59:38 +0000 (11:29 +0530)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jul 2026 22:47:18 +0000 (23:47 +0100)
commitdec5aaa27603e1d7b426ce3504af6d1a62e4d444
treedfbfe45cc1ef60f82a833296ee49f71e8d63aaa9
parentf7697ecf6eab9d4887dd731038b3dc405c7e755e
ASoC: amd: ps: replace bitwise OR with logical OR in IRQ return check

The condition 'irq_flag | wake_irq_flag' uses bitwise OR to combine two
integer flags that are used as booleans. Replace with logical OR '||' to
correctly express the intended boolean check.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Reviewed-by: Mario Limonciello (AMD) <superm1@kernel.org>
Fixes: 7f91f012c1df0 ("ASoC: amd: ps: fix for irq handler return status")
Link: https://patch.msgid.link/20260707060130.2514138-4-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/ps/pci-ps.c