Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
f00452cf
Commit
f00452cf
authored
May 27, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/misc' into for-linus
* fix/misc: sound: usb-audio: make the MotU Fastlane work again
parents
cd86a536
55de5ef9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
sound/usb/usbaudio.c
sound/usb/usbaudio.c
+1
-1
sound/usb/usbaudio.h
sound/usb/usbaudio.h
+1
-1
sound/usb/usbmidi.c
sound/usb/usbmidi.c
+11
-1
sound/usb/usbquirks.h
sound/usb/usbquirks.h
+1
-1
No files found.
sound/usb/usbaudio.c
View file @
f00452cf
...
...
@@ -3347,7 +3347,7 @@ static int snd_usb_create_quirk(struct snd_usb_audio *chip,
[
QUIRK_MIDI_YAMAHA
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_MIDIMAN
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_NOVATION
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_
RAW
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_
FASTLANE
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_EMAGIC
]
=
snd_usb_create_midi_interface
,
[
QUIRK_MIDI_CME
]
=
snd_usb_create_midi_interface
,
[
QUIRK_AUDIO_STANDARD_INTERFACE
]
=
create_standard_audio_quirk
,
...
...
sound/usb/usbaudio.h
View file @
f00452cf
...
...
@@ -153,7 +153,7 @@ enum quirk_type {
QUIRK_MIDI_YAMAHA
,
QUIRK_MIDI_MIDIMAN
,
QUIRK_MIDI_NOVATION
,
QUIRK_MIDI_
RAW
,
QUIRK_MIDI_
FASTLANE
,
QUIRK_MIDI_EMAGIC
,
QUIRK_MIDI_CME
,
QUIRK_MIDI_US122L
,
...
...
sound/usb/usbmidi.c
View file @
f00452cf
...
...
@@ -1778,8 +1778,18 @@ int snd_usb_create_midi_interface(struct snd_usb_audio* chip,
umidi
->
usb_protocol_ops
=
&
snd_usbmidi_novation_ops
;
err
=
snd_usbmidi_detect_per_port_endpoints
(
umidi
,
endpoints
);
break
;
case
QUIRK_MIDI_
RAW
:
case
QUIRK_MIDI_
FASTLANE
:
umidi
->
usb_protocol_ops
=
&
snd_usbmidi_raw_ops
;
/*
* Interface 1 contains isochronous endpoints, but with the same
* numbers as in interface 0. Since it is interface 1 that the
* USB core has most recently seen, these descriptors are now
* associated with the endpoint numbers. This will foul up our
* attempts to submit bulk/interrupt URBs to the endpoints in
* interface 0, so we have to make sure that the USB core looks
* again at interface 0 by calling usb_set_interface() on it.
*/
usb_set_interface
(
umidi
->
chip
->
dev
,
0
,
0
);
err
=
snd_usbmidi_detect_per_port_endpoints
(
umidi
,
endpoints
);
break
;
case
QUIRK_MIDI_EMAGIC
:
...
...
sound/usb/usbquirks.h
View file @
f00452cf
...
...
@@ -1868,7 +1868,7 @@ YAMAHA_DEVICE(0x7010, "UB99"),
.
data
=
&
(
const
struct
snd_usb_audio_quirk
[])
{
{
.
ifnum
=
0
,
.
type
=
QUIRK_MIDI_
RAW
.
type
=
QUIRK_MIDI_
FASTLANE
},
{
.
ifnum
=
1
,
...
...
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