diff options
Diffstat (limited to 'sound/drivers')
-rw-r--r-- | sound/drivers/aloop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 64d534710b51..6f78de9c6fb6 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c | |||
@@ -325,7 +325,7 @@ static void params_change(struct snd_pcm_substream *substream) | |||
325 | struct loopback_pcm *dpcm = runtime->private_data; | 325 | struct loopback_pcm *dpcm = runtime->private_data; |
326 | struct loopback_cable *cable = dpcm->cable; | 326 | struct loopback_cable *cable = dpcm->cable; |
327 | 327 | ||
328 | cable->hw.formats = (1ULL << runtime->format); | 328 | cable->hw.formats = pcm_format_to_bits(runtime->format); |
329 | cable->hw.rate_min = runtime->rate; | 329 | cable->hw.rate_min = runtime->rate; |
330 | cable->hw.rate_max = runtime->rate; | 330 | cable->hw.rate_max = runtime->rate; |
331 | cable->hw.channels_min = runtime->channels; | 331 | cable->hw.channels_min = runtime->channels; |