diff options
author | Andrej Krutak <dev@andree.sk> | 2016-09-18 20:59:24 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2016-09-19 23:00:16 +0200 |
commit | 97d78acfb870a67339957e9c4d36dc03242df315 (patch) | |
tree | e50c02a117e5a8e9f1ddf6272be6e53989f5f789 /sound/usb/line6/toneport.c | |
parent | 7a0f55aeeb8f1fa32a119d34ddfefc6100936692 (diff) | |
download | linux-97d78acfb870a67339957e9c4d36dc03242df315.tar.bz2 |
ALSA: line6: Allow different channel numbers for in/out
Changes bytes_per_frame to bytes_per_channel.
Signed-off-by: Andrej Krutak <dev@andree.sk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/line6/toneport.c')
-rw-r--r-- | sound/usb/line6/toneport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/toneport.c b/sound/usb/line6/toneport.c index 6d4c50c9b17d..da76e030eefc 100644 --- a/sound/usb/line6/toneport.c +++ b/sound/usb/line6/toneport.c @@ -114,7 +114,7 @@ static struct line6_pcm_properties toneport_pcm_properties = { .rates = { .nrats = 1, .rats = &toneport_ratden}, - .bytes_per_frame = 4 + .bytes_per_channel = 2 }; static const struct { |