]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda: Reset all SIE bits in INTCTL
authorAmadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Wed, 6 Jul 2022 12:02:28 +0000 (14:02 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Jul 2022 16:41:40 +0000 (18:41 +0200)
commit9cf2495106809d2c533f7dbdbf6a524ca32b3b86
treed73e36a410eea08104ec2e0f6e3ef7043414ea8a
parentdf8c3c62244eebce1bafef4ccf0de46c840b4773
ALSA: hda: Reset all SIE bits in INTCTL

Old code resets SIE for up to 8 streams using byte accessor, but
register is laid out in following way:

31 GIE
30 CIE
29:x Reserved
x-1:0 SIE

If there is more than 8 streams, some of them may and up with enabled
interrupts. To fix this just clear whole INTCTL register when disabling
interrupts.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220706120230.427296-8-cezary.rojewski@intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/hda/hdac_controller.c