diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-01-28 15:08:59 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-01-28 20:54:47 +0100 |
commit | 1263f61179821df60cca4bccdb69e2f71fdebaa7 (patch) | |
tree | 7f21fcf086b2cb1c8719a5251e929deb1ed9dcbf /sound/usb/line6/capture.c | |
parent | ALSA: line6: Remove invalid capability bits for PODxt Live Variax (diff) | |
download | linux-1263f61179821df60cca4bccdb69e2f71fdebaa7.tar.xz linux-1263f61179821df60cca4bccdb69e2f71fdebaa7.zip |
ALSA: line6: Remove snd_line6_ prefix of pcm property fields
It's just superfluous and doesn't give any better readability.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
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) err = snd_pcm_hw_constraint_ratdens(runtime, 0, SNDRV_PCM_HW_PARAM_RATE, - (&line6pcm-> - properties->snd_line6_rates)); + &line6pcm->properties->rates); if (err < 0) return err; - runtime->hw = line6pcm->properties->snd_line6_capture_hw; + runtime->hw = line6pcm->properties->capture_hw; return 0; } |