mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
Merge branch 'fix/usb-audio' into for-linus
This commit is contained in:
commit
b0050cae2b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue