Skip to content

Commit 52345d3

Browse files
Amadeusz Sławińskitiwai
authored andcommitted
ALSA: hda: Fix all stream interrupts definition
It is defined in header to 0xFF, which only allows to set values for 8 streams. In specification it is defined as bits from 0 to 29. In practice there is no HW with 29 streams, but as the only place where the value is used is chip initialization, it is best to make sure that all bits are reset properly. Reviewed-by: Cezary Rojewski <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 0ddf278 commit 52345d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/sound/hda_register.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ enum { SDI0, SDI1, SDI2, SDI3, SDO0, SDO1, SDO2, SDO3 };
180180
#define SD_STS_FIFO_READY 0x20 /* FIFO ready */
181181

182182
/* INTCTL and INTSTS */
183-
#define AZX_INT_ALL_STREAM 0xff /* all stream interrupts */
183+
#define AZX_INT_ALL_STREAM 0x3fffffff /* all stream interrupts */
184184
#define AZX_INT_CTRL_EN 0x40000000 /* controller interrupt enable bit */
185185
#define AZX_INT_GLOBAL_EN 0x80000000 /* global interrupt enable bit */
186186

0 commit comments

Comments
 (0)