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
nexedi
linux
Commits
2cfec93f
Commit
2cfec93f
authored
Feb 01, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'for-2.6.38' and 'tegra-arch' into for-2.6.39
parents
f9eabc3d
f019ee5f
47f5ae51
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
arch/arm/mach-tegra/include/mach/harmony_audio.h
arch/arm/mach-tegra/include/mach/harmony_audio.h
+3
-0
sound/soc/codecs/cx20442.c
sound/soc/codecs/cx20442.c
+3
-0
sound/soc/omap/ams-delta.c
sound/soc/omap/ams-delta.c
+0
-2
No files found.
arch/arm/mach-tegra/include/mach/harmony_audio.h
View file @
2cfec93f
...
@@ -16,4 +16,7 @@
...
@@ -16,4 +16,7 @@
struct
harmony_audio_platform_data
{
struct
harmony_audio_platform_data
{
int
gpio_spkr_en
;
int
gpio_spkr_en
;
int
gpio_hp_det
;
int
gpio_int_mic_en
;
int
gpio_ext_mic_en
;
};
};
sound/soc/codecs/cx20442.c
View file @
2cfec93f
...
@@ -367,9 +367,12 @@ static int cx20442_codec_remove(struct snd_soc_codec *codec)
...
@@ -367,9 +367,12 @@ static int cx20442_codec_remove(struct snd_soc_codec *codec)
return
0
;
return
0
;
}
}
static
const
u8
cx20442_reg
=
CX20442_TELOUT
|
CX20442_MIC
;
static
struct
snd_soc_codec_driver
cx20442_codec_dev
=
{
static
struct
snd_soc_codec_driver
cx20442_codec_dev
=
{
.
probe
=
cx20442_codec_probe
,
.
probe
=
cx20442_codec_probe
,
.
remove
=
cx20442_codec_remove
,
.
remove
=
cx20442_codec_remove
,
.
reg_cache_default
=
&
cx20442_reg
,
.
reg_cache_size
=
1
,
.
reg_cache_size
=
1
,
.
reg_word_size
=
sizeof
(
u8
),
.
reg_word_size
=
sizeof
(
u8
),
.
read
=
cx20442_read_reg_cache
,
.
read
=
cx20442_read_reg_cache
,
...
...
sound/soc/omap/ams-delta.c
View file @
2cfec93f
...
@@ -507,8 +507,6 @@ static int ams_delta_cx20442_init(struct snd_soc_pcm_runtime *rtd)
...
@@ -507,8 +507,6 @@ static int ams_delta_cx20442_init(struct snd_soc_pcm_runtime *rtd)
/* Set up digital mute if not provided by the codec */
/* Set up digital mute if not provided by the codec */
if
(
!
codec_dai
->
driver
->
ops
)
{
if
(
!
codec_dai
->
driver
->
ops
)
{
codec_dai
->
driver
->
ops
=
&
ams_delta_dai_ops
;
codec_dai
->
driver
->
ops
=
&
ams_delta_dai_ops
;
}
else
if
(
!
codec_dai
->
driver
->
ops
->
digital_mute
)
{
codec_dai
->
driver
->
ops
->
digital_mute
=
ams_delta_digital_mute
;
}
else
{
}
else
{
ams_delta_ops
.
startup
=
ams_delta_startup
;
ams_delta_ops
.
startup
=
ams_delta_startup
;
ams_delta_ops
.
shutdown
=
ams_delta_shutdown
;
ams_delta_ops
.
shutdown
=
ams_delta_shutdown
;
...
...
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