diff options
Diffstat (limited to 'sound/usb/line6/capture.c')
-rw-r--r-- | sound/usb/line6/capture.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/usb/line6/capture.c b/sound/usb/line6/capture.c index 4183c5f5edc2..f518fbbe88de 100644 --- a/sound/usb/line6/capture.c +++ b/sound/usb/line6/capture.c | |||
@@ -216,12 +216,11 @@ static int snd_line6_capture_open(struct snd_pcm_substream *substream) | |||
216 | 216 | ||
217 | err = snd_pcm_hw_constraint_ratdens(runtime, 0, | 217 | err = snd_pcm_hw_constraint_ratdens(runtime, 0, |
218 | SNDRV_PCM_HW_PARAM_RATE, | 218 | SNDRV_PCM_HW_PARAM_RATE, |
219 | (&line6pcm-> | 219 | &line6pcm->properties->rates); |
220 | properties->snd_line6_rates)); | ||
221 | if (err < 0) | 220 | if (err < 0) |
222 | return err; | 221 | return err; |
223 | 222 | ||
224 | runtime->hw = line6pcm->properties->snd_line6_capture_hw; | 223 | runtime->hw = line6pcm->properties->capture_hw; |
225 | return 0; | 224 | return 0; |
226 | } | 225 | } |
227 | 226 | ||