Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
8c0f5510
K
Kernel
项目概览
openeuler
/
Kernel
1 年多 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
8c0f5510
编写于
4月 26, 2016
作者:
M
Mark Brown
浏览文件
操作
浏览文件
下载
差异文件
Merge remote-tracking branches 'asoc/fix/rt5640' and 'asoc/fix/wm8962' into asoc-linus
上级
78cfca32
653aa464
33362c69
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
20 addition
and
20 deletion
+20
-20
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5640.c
+1
-1
sound/soc/codecs/rt5640.h
sound/soc/codecs/rt5640.h
+18
-18
sound/soc/codecs/wm8962.c
sound/soc/codecs/wm8962.c
+1
-1
未找到文件。
sound/soc/codecs/rt5640.c
浏览文件 @
8c0f5510
...
...
@@ -359,7 +359,7 @@ static const DECLARE_TLV_DB_RANGE(bst_tlv,
/* Interface data select */
static
const
char
*
const
rt5640_data_select
[]
=
{
"Normal"
,
"
left copy to right"
,
"right copy to left"
,
"Swap
"
};
"Normal"
,
"
Swap"
,
"left copy to right"
,
"right copy to left
"
};
static
SOC_ENUM_SINGLE_DECL
(
rt5640_if1_dac_enum
,
RT5640_DIG_INF_DATA
,
RT5640_IF1_DAC_SEL_SFT
,
rt5640_data_select
);
...
...
sound/soc/codecs/rt5640.h
浏览文件 @
8c0f5510
...
...
@@ -443,39 +443,39 @@
#define RT5640_IF1_DAC_SEL_MASK (0x3 << 14)
#define RT5640_IF1_DAC_SEL_SFT 14
#define RT5640_IF1_DAC_SEL_NOR (0x0 << 14)
#define RT5640_IF1_DAC_SEL_
L2R
(0x1 << 14)
#define RT5640_IF1_DAC_SEL_
R2L
(0x2 << 14)
#define RT5640_IF1_DAC_SEL_
SWAP
(0x3 << 14)
#define RT5640_IF1_DAC_SEL_
SWAP
(0x1 << 14)
#define RT5640_IF1_DAC_SEL_
L2R
(0x2 << 14)
#define RT5640_IF1_DAC_SEL_
R2L
(0x3 << 14)
#define RT5640_IF1_ADC_SEL_MASK (0x3 << 12)
#define RT5640_IF1_ADC_SEL_SFT 12
#define RT5640_IF1_ADC_SEL_NOR (0x0 << 12)
#define RT5640_IF1_ADC_SEL_
L2R
(0x1 << 12)
#define RT5640_IF1_ADC_SEL_
R2L
(0x2 << 12)
#define RT5640_IF1_ADC_SEL_
SWAP
(0x3 << 12)
#define RT5640_IF1_ADC_SEL_
SWAP
(0x1 << 12)
#define RT5640_IF1_ADC_SEL_
L2R
(0x2 << 12)
#define RT5640_IF1_ADC_SEL_
R2L
(0x3 << 12)
#define RT5640_IF2_DAC_SEL_MASK (0x3 << 10)
#define RT5640_IF2_DAC_SEL_SFT 10
#define RT5640_IF2_DAC_SEL_NOR (0x0 << 10)
#define RT5640_IF2_DAC_SEL_
L2R
(0x1 << 10)
#define RT5640_IF2_DAC_SEL_
R2L
(0x2 << 10)
#define RT5640_IF2_DAC_SEL_
SWAP
(0x3 << 10)
#define RT5640_IF2_DAC_SEL_
SWAP
(0x1 << 10)
#define RT5640_IF2_DAC_SEL_
L2R
(0x2 << 10)
#define RT5640_IF2_DAC_SEL_
R2L
(0x3 << 10)
#define RT5640_IF2_ADC_SEL_MASK (0x3 << 8)
#define RT5640_IF2_ADC_SEL_SFT 8
#define RT5640_IF2_ADC_SEL_NOR (0x0 << 8)
#define RT5640_IF2_ADC_SEL_
L2R
(0x1 << 8)
#define RT5640_IF2_ADC_SEL_
R2L
(0x2 << 8)
#define RT5640_IF2_ADC_SEL_
SWAP
(0x3 << 8)
#define RT5640_IF2_ADC_SEL_
SWAP
(0x1 << 8)
#define RT5640_IF2_ADC_SEL_
L2R
(0x2 << 8)
#define RT5640_IF2_ADC_SEL_
R2L
(0x3 << 8)
#define RT5640_IF3_DAC_SEL_MASK (0x3 << 6)
#define RT5640_IF3_DAC_SEL_SFT 6
#define RT5640_IF3_DAC_SEL_NOR (0x0 << 6)
#define RT5640_IF3_DAC_SEL_
L2R
(0x1 << 6)
#define RT5640_IF3_DAC_SEL_
R2L
(0x2 << 6)
#define RT5640_IF3_DAC_SEL_
SWAP
(0x3 << 6)
#define RT5640_IF3_DAC_SEL_
SWAP
(0x1 << 6)
#define RT5640_IF3_DAC_SEL_
L2R
(0x2 << 6)
#define RT5640_IF3_DAC_SEL_
R2L
(0x3 << 6)
#define RT5640_IF3_ADC_SEL_MASK (0x3 << 4)
#define RT5640_IF3_ADC_SEL_SFT 4
#define RT5640_IF3_ADC_SEL_NOR (0x0 << 4)
#define RT5640_IF3_ADC_SEL_
L2R
(0x1 << 4)
#define RT5640_IF3_ADC_SEL_
R2L
(0x2 << 4)
#define RT5640_IF3_ADC_SEL_
SWAP
(0x3 << 4)
#define RT5640_IF3_ADC_SEL_
SWAP
(0x1 << 4)
#define RT5640_IF3_ADC_SEL_
L2R
(0x2 << 4)
#define RT5640_IF3_ADC_SEL_
R2L
(0x3 << 4)
/* REC Left Mixer Control 1 (0x3b) */
#define RT5640_G_HP_L_RM_L_MASK (0x7 << 13)
...
...
sound/soc/codecs/wm8962.c
浏览文件 @
8c0f5510
...
...
@@ -2471,7 +2471,7 @@ static void wm8962_configure_bclk(struct snd_soc_codec *codec)
break
;
default:
dev_warn
(
codec
->
dev
,
"Unknown DSPCLK divisor read back
\n
"
);
dspclk
=
wm8962
->
sysclk
;
dspclk
=
wm8962
->
sysclk
_rate
;
}
dev_dbg
(
codec
->
dev
,
"DSPCLK is %dHz, BCLK %d
\n
"
,
dspclk
,
wm8962
->
bclk
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录