diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-04-22 15:24:30 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-04-22 17:34:28 +0200 |
commit | 6fb861bb3caf2ca8e440f7a3fdcca35fcac917b4 (patch) | |
tree | d0db2ca26573fa8df57f84f6230b49d98b15ced6 /lib/crc32.c | |
parent | 8b2dd46d9a0370cf092fdd798dd66634abaf03e0 (diff) | |
download | linux-stable-6fb861bb3caf2ca8e440f7a3fdcca35fcac917b4.tar.gz linux-stable-6fb861bb3caf2ca8e440f7a3fdcca35fcac917b4.tar.bz2 linux-stable-6fb861bb3caf2ca8e440f7a3fdcca35fcac917b4.zip |
ALSA: emu10k1: fix snd_emu1010_fpga_read() input masking for rev2 cards
Unlike the Alice2 chips used on 1st generation E-MU cards, the
Tina/Tina2 chips used on the 2nd gen cards have only six GPIN pins,
which means that we need to use a smaller mask. Failure to do so would
falsify the read data if the FPGA tried to raise an IRQ right at that
moment. This wasn't a problem so far, as we didn't actually enable FPGA
IRQs, but that's going to change soon.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230422132430.1057490-1-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions