1
0
Fork 0
remarkable-linux/sound/pci/au88x0
Takashi Iwai 10d3d91e3b ALSA: au88x0: Fix sparse warning wrt PCM format type
The PCM format type is with __bitwise, and it can't be converted from
integer implicitly.  Instead of an ugly cast, declare the function
argument of vortex_alsafmt_aspfmt() with the proper snd_pcm_format_t
type.

This fixes the sparse warning like:
  sound/pci/au88x0/au88x0_core.c:2778:14: warning: restricted snd_pcm_format_t degrades to integer

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-07-27 09:05:28 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0.c ALSA: remove deprecated use of pci api 2015-04-16 12:19:52 +02:00
au88x0.h ALSA: au88x0: Fix sparse warning wrt PCM format type 2018-07-27 09:05:28 +02:00
au88x0_a3d.c ALSA: pci: constify snd_kcontrol_new structures 2017-02-21 22:01:21 +01:00
au88x0_a3d.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au88x0_a3ddata.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
au88x0_core.c ALSA: au88x0: Fix sparse warning wrt PCM format type 2018-07-27 09:05:28 +02:00
au88x0_eq.c ALSA: pci: constify snd_kcontrol_new structures 2017-02-21 22:01:21 +01:00
au88x0_eq.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_eqdata.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_game.c ALSA: pci: don't opencode IS_REACHABLE() 2016-11-13 21:33:41 +01:00
au88x0_mixer.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_mpu401.c ALSA: au88x0: pr_* replaced with dev_* 2014-10-15 12:03:18 +02:00
au88x0_pcm.c ALSA: pci: make snd_pcm_hardware const 2017-08-17 12:44:16 +02:00
au88x0_synth.c ALSA: au88x0: pr_* replaced with dev_* 2014-10-15 12:03:18 +02:00
au88x0_wt.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au88x0_xtalk.c ALSA: Au88x0 - Fix Xtalk's constants 2012-01-08 14:35:40 +01:00
au88x0_xtalk.h [ALSA] au88x0 - 64bit arch fixes 2006-03-22 10:23:32 +01:00
au8810.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8810.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8820.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8820.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8830.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
au8830.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00