aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-02-06 14:25:13 +0100
committerTakashi Iwai <tiwai@suse.de>2009-02-06 14:25:13 +0100
commitb0050cae2ba48cb79fa22b0edd97e611abbd6a33 (patch)
tree6a85edcdd2332a14eb0314d7a4d1a7da95b552fe /sound
parentb2573eb586169dfb02772856a4e7cb760f21ec12 (diff)
parent894dcd78782842924527598b0b764c9b4e679e21 (diff)
downloadkernel_samsung_crespo-b0050cae2ba48cb79fa22b0edd97e611abbd6a33.zip
kernel_samsung_crespo-b0050cae2ba48cb79fa22b0edd97e611abbd6a33.tar.gz
kernel_samsung_crespo-b0050cae2ba48cb79fa22b0edd97e611abbd6a33.tar.bz2
Merge branch 'fix/usb-audio' into for-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/usb/usbaudio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usbaudio.c b/sound/usb/usbaudio.c
index c709b95..2ab8312 100644
--- a/sound/usb/usbaudio.c
+++ b/sound/usb/usbaudio.c
@@ -2966,6 +2966,7 @@ static int create_fixed_stream_quirk(struct snd_usb_audio *chip,
return -EINVAL;
}
alts = &iface->altsetting[fp->altset_idx];
+ fp->maxpacksize = le16_to_cpu(get_endpoint(alts, 0)->wMaxPacketSize);
usb_set_interface(chip->dev, fp->iface, 0);
init_usb_pitch(chip->dev, fp->iface, alts, fp);
init_usb_sample_rate(chip->dev, fp->iface, alts, fp, fp->rate_max);