linux/sound/pci/ctxfi
Stefan Agner a753af301c ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate
Currently a variable of type enum CT_AMIXER_CTL is used for enum
CT_SUM_CTL values. This leads to warnings when using clang:
sound/pci/ctxfi/ctmixer.c:945:32: warning: implicit conversion from enumeration type
      'enum CT_SUM_CTL' to different enumeration type 'enum CT_AMIXER_CTL'
      [-Wenum-conversion]
        for (i = AMIXER_MASTER_F, j = SUM_IN_F;
                                    ~ ^~~~~~~~
sound/pci/ctxfi/ctmixer.c:975:29: warning: implicit conversion from enumeration type
      'enum CT_SUM_CTL' to different enumeration type 'enum CT_AMIXER_CTL'
      [-Wenum-conversion]
        for (i = AMIXER_PCM_F, j = SUM_IN_F; i <= AMIXER_PCM_S; i++, j++) {
                                 ~ ^~~~~~~~

Introduce enum CT_SUM_CTL k and it instead.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-06-18 17:40:18 +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 treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctatc.h ALSA: ctxfi: changed void * to struct hw * 2014-09-30 10:34:29 +02:00
ctdaio.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07: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: make hw structures const 2017-08-23 15:55:18 +02:00
cthw20k1.h
cthw20k2.c ALSA: ctxfi: make hw structures const 2017-08-23 15:55:18 +02:00
cthw20k2.h
ctimap.c
ctimap.h
ctmixer.c ALSA: ctxfi: use enum type CT_SUM_CTL where appropriate 2018-06-18 17:40:18 +02:00
ctmixer.h
ctpcm.c ALSA: ctxfi: Use common error handling code in two functions 2017-08-22 19:43:29 +02:00
ctpcm.h
ctresource.c ALSA: ctxfi: Remove null check before kfree 2017-08-31 20:10:30 +02:00
ctresource.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
ctsrc.c treewide: kzalloc() -> kcalloc() 2018-06-12 16:19:22 -07:00
ctsrc.h ALSA: ctxfi: constify rsc ops structures 2015-11-11 08:40:56 +01:00
cttimer.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
cttimer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ctvmem.c ALSA: squash lines for simple wrapper functions 2016-09-07 20:35:29 +02:00
ctvmem.h
Makefile
xfi.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00