diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-12 16:56:51 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-12 16:59:02 +0100 |
commit | 6c869d301bda3f672f001e2c9fcb01685000fc83 (patch) | |
tree | 8b00aaadc809a86627ea39972e30cf80e03fab62 /sound/pci/rme32.c | |
parent | d2866409baaf644c8f875498b05fd3adf26fcdcd (diff) | |
download | op-kernel-dev-6c869d301bda3f672f001e2c9fcb01685000fc83.zip op-kernel-dev-6c869d301bda3f672f001e2c9fcb01685000fc83.tar.gz |
ALSA: rme*: Use snd_pcm_format_t
Fix sparse warnings below by using snd_pcm_format_t properly:
sound/pci/rme32.c:682:60: sparse: incorrect type in argument 2 (different base types)
sound/pci/rme96.c:1006:69: sparse: incorrect type in argument 2 (different base types)
.....
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme32.c')
-rw-r--r-- | sound/pci/rme32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme32.c b/sound/pci/rme32.c index 6c60dcd..1a7affa 100644 --- a/sound/pci/rme32.c +++ b/sound/pci/rme32.c @@ -632,7 +632,7 @@ snd_rme32_setframelog(struct rme32 * rme32, int n_channels, int is_playback) } } -static int snd_rme32_setformat(struct rme32 * rme32, int format) +static int snd_rme32_setformat(struct rme32 *rme32, snd_pcm_format_t format) { switch (format) { case SNDRV_PCM_FORMAT_S16_LE: |