Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
f00452cf
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f00452cf
编写于
5月 27, 2009
作者:
T
Takashi Iwai
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'fix/misc' into for-linus
* fix/misc: sound: usb-audio: make the MotU Fastlane work again
上级
cd86a536
55de5ef9
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
14 addition
and
4 deletion
+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
未找到文件。
sound/usb/usbaudio.c
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录