Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
ca4c2ada
Commit
ca4c2ada
authored
Apr 16, 2010
by
Jaroslav Kysela
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ALSA: usb/mixer - use get_iface_desc() rather than direct structure
Signed-off-by:
Jaroslav Kysela
<
perex@perex.cz
>
parent
f09d045e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sound/usb/mixer.c
sound/usb/mixer.c
+1
-1
No files found.
sound/usb/mixer.c
View file @
ca4c2ada
...
...
@@ -2055,7 +2055,7 @@ int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
}
host_iface
=
&
usb_ifnum_to_if
(
chip
->
dev
,
ctrlif
)
->
altsetting
[
0
];
mixer
->
protocol
=
host_iface
->
desc
.
bInterfaceProtocol
;
mixer
->
protocol
=
get_iface_desc
(
host_iface
)
->
bInterfaceProtocol
;
if
((
err
=
snd_usb_mixer_controls
(
mixer
))
<
0
||
(
err
=
snd_usb_mixer_status_create
(
mixer
))
<
0
)
...
...
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