Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
b0050cae
Commit
b0050cae
authored
Feb 06, 2009
by
Takashi Iwai
Browse files
Merge branch 'fix/usb-audio' into for-linus
parents
b2573eb5
894dcd78
Changes
1
Show whitespace changes
Inline
Side-by-side
sound/usb/usbaudio.c
View file @
b0050cae
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment