aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ctxfi/ctatc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/ctxfi/ctatc.c')
-rw-r--r--sound/pci/ctxfi/ctatc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/pci/ctxfi/ctatc.c b/sound/pci/ctxfi/ctatc.c
index 675dd4c8eaec..268ecc4c2856 100644
--- a/sound/pci/ctxfi/ctatc.c
+++ b/sound/pci/ctxfi/ctatc.c
@@ -170,16 +170,15 @@ static unsigned int convert_format(snd_pcm_format_t snd_format)
170{ 170{
171 switch (snd_format) { 171 switch (snd_format) {
172 case SNDRV_PCM_FORMAT_U8: 172 case SNDRV_PCM_FORMAT_U8:
173 case SNDRV_PCM_FORMAT_S8:
174 return SRC_SF_U8; 173 return SRC_SF_U8;
175 case SNDRV_PCM_FORMAT_S16_LE: 174 case SNDRV_PCM_FORMAT_S16_LE:
176 case SNDRV_PCM_FORMAT_U16_LE:
177 return SRC_SF_S16; 175 return SRC_SF_S16;
178 case SNDRV_PCM_FORMAT_S24_3LE: 176 case SNDRV_PCM_FORMAT_S24_3LE:
179 return SRC_SF_S24; 177 return SRC_SF_S24;
180 case SNDRV_PCM_FORMAT_S24_LE:
181 case SNDRV_PCM_FORMAT_S32_LE: 178 case SNDRV_PCM_FORMAT_S32_LE:
182 return SRC_SF_S32; 179 return SRC_SF_S32;
180 case SNDRV_PCM_FORMAT_FLOAT_LE:
181 return SRC_SF_F32;
183 default: 182 default:
184 printk(KERN_ERR "ctxfi: not recognized snd format is %d \n", 183 printk(KERN_ERR "ctxfi: not recognized snd format is %d \n",
185 snd_format); 184 snd_format);