diff options
| author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2026-07-07 11:29:38 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-07-07 23:47:18 +0100 |
| commit | dec5aaa27603e1d7b426ce3504af6d1a62e4d444 (patch) | |
| tree | dfbfe45cc1ef60f82a833296ee49f71e8d63aaa9 /sound/soc/amd | |
| parent | f7697ecf6eab9d4887dd731038b3dc405c7e755e (diff) | |
| download | linux-next-dec5aaa27603e1d7b426ce3504af6d1a62e4d444.tar.gz linux-next-dec5aaa27603e1d7b426ce3504af6d1a62e4d444.zip | |
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>
Diffstat (limited to 'sound/soc/amd')
| -rw-r--r-- | sound/soc/amd/ps/pci-ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/amd/ps/pci-ps.c b/sound/soc/amd/ps/pci-ps.c index 1162d13d8505..729f9aaba69e 100644 --- a/sound/soc/amd/ps/pci-ps.c +++ b/sound/soc/amd/ps/pci-ps.c @@ -248,7 +248,7 @@ static irqreturn_t acp63_irq_handler(int irq, void *dev_id) if (sdw_dma_irq_flag) return IRQ_WAKE_THREAD; - if (irq_flag | wake_irq_flag) + if (irq_flag || wake_irq_flag) return IRQ_HANDLED; else return IRQ_NONE; |
