android_kernel_oneplus_msm8998/sound/pci/ctxfi
Takashi Iwai ed00b613bb ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call
commit f363a06642f28caaa78cb6446bbad90c73fe183c upstream.

In the commit [15c75b09f8d1: ALSA: ctxfi: Fallback DMA mask to 32bit],
I forgot to put "!" at dam_set_mask() call check in cthw20k1.c (while
cthw20k2.c is OK).  This patch fixes that obvious bug.

(As a side note: although the original commit was completely wrong,
 it's still working for most of machines, as it sets to 32bit DMA mask
 in the end.  So the bug severity is low.)

Fixes: 15c75b09f8d1 ("ALSA: ctxfi: Fallback DMA mask to 32bit")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-03-30 09:35:15 +02:00
..
ct20k1reg.h
ct20k2reg.h
ctamixer.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctamixer.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctatc.c ALSA: ctxfi: Kill the rest snd_print*() 2014-10-28 17:40:42 +01:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctdaio.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cthardware.c
cthardware.h ALSA: ctxfi: added reference of snd_card 2014-09-30 10:35:48 +02:00
cthw20k1.c ALSA: ctxfi: Fix the incorrect check of dma_set_mask() call 2017-03-30 09:35:15 +02:00
cthw20k1.h
cthw20k2.c ALSA: ctxfi: Fallback DMA mask to 32bit 2017-03-12 06:37:25 +01:00
cthw20k2.h
ctimap.c
ctimap.h
ctmixer.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctmixer.h
ctpcm.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctpcm.h
ctresource.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctresource.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.c ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cttimer.c ALSA: ctxfi: Kill the rest snd_print*() 2014-10-28 17:40:42 +01:00
cttimer.h
ctvmem.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00
ctvmem.h
Makefile
xfi.c ALSA: ctxfi: pr_* replaced with dev_* 2014-09-30 10:36:59 +02:00