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
2ba30f0f
Commit
2ba30f0f
authored
Oct 18, 2012
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'omap-for-v3.8/cleanup-headers-asoc' into omap-for-v3.8/cleanup-headers
parents
25c7d49e
68214d99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
sound/soc/omap/omap-abe-twl6040.c
sound/soc/omap/omap-abe-twl6040.c
+1
-1
sound/soc/omap/omap-mcpdm.c
sound/soc/omap/omap-mcpdm.c
+2
-7
No files found.
sound/soc/omap/omap-abe-twl6040.c
View file @
2ba30f0f
...
...
@@ -216,7 +216,7 @@ static int omap_abe_twl6040_init(struct snd_soc_pcm_runtime *rtd)
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_hf
,
"Ext Spk"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_ep
,
"Earphone Spk"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_aux
,
"Line Out"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_vibra
,
"Vi
n
rator"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_vibra
,
"Vi
b
rator"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_hsmic
,
"Headset Mic"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_mainmic
,
"Main Handset Mic"
);
twl6040_disconnect_pin
(
dapm
,
pdata
->
has_submic
,
"Sub Handset Mic"
);
...
...
sound/soc/omap/omap-mcpdm.c
View file @
2ba30f0f
...
...
@@ -40,7 +40,6 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <plat/omap_hwmod.h>
#include "omap-mcpdm.h"
#include "omap-pcm.h"
...
...
@@ -260,13 +259,9 @@ static int omap_mcpdm_dai_startup(struct snd_pcm_substream *substream,
mutex_lock
(
&
mcpdm
->
mutex
);
if
(
!
dai
->
active
)
{
/* Enable watch dog for ES above ES 1.0 to avoid saturation */
if
(
omap_rev
()
!=
OMAP4430_REV_ES1_0
)
{
u32
ctrl
=
omap_mcpdm_read
(
mcpdm
,
MCPDM_REG_CTRL
);
u32
ctrl
=
omap_mcpdm_read
(
mcpdm
,
MCPDM_REG_CTRL
);
omap_mcpdm_write
(
mcpdm
,
MCPDM_REG_CTRL
,
ctrl
|
MCPDM_WD_EN
);
}
omap_mcpdm_write
(
mcpdm
,
MCPDM_REG_CTRL
,
ctrl
|
MCPDM_WD_EN
);
omap_mcpdm_open_streams
(
mcpdm
);
}
mutex_unlock
(
&
mcpdm
->
mutex
);
...
...
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