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
33484c67
Commit
33484c67
authored
Mar 16, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branches 'asoc/fix/sgtl5000' and 'asoc/fix/sn95031' into asoc-linus
parents
af6b7a82
c7d910b8
cdd3d2a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
9 deletions
+3
-9
sound/soc/codecs/sgtl5000.c
sound/soc/codecs/sgtl5000.c
+1
-7
sound/soc/codecs/sn95031.c
sound/soc/codecs/sn95031.c
+2
-2
No files found.
sound/soc/codecs/sgtl5000.c
View file @
33484c67
...
@@ -1151,13 +1151,7 @@ static int sgtl5000_set_power_regs(struct snd_soc_codec *codec)
...
@@ -1151,13 +1151,7 @@ static int sgtl5000_set_power_regs(struct snd_soc_codec *codec)
/* Enable VDDC charge pump */
/* Enable VDDC charge pump */
ana_pwr
|=
SGTL5000_VDDC_CHRGPMP_POWERUP
;
ana_pwr
|=
SGTL5000_VDDC_CHRGPMP_POWERUP
;
}
else
if
(
vddio
>=
3100
&&
vdda
>=
3100
)
{
}
else
if
(
vddio
>=
3100
&&
vdda
>=
3100
)
{
/*
ana_pwr
&=
~
SGTL5000_VDDC_CHRGPMP_POWERUP
;
* if vddio and vddd > 3.1v,
* charge pump should be clean before set ana_pwr
*/
snd_soc_update_bits
(
codec
,
SGTL5000_CHIP_ANA_POWER
,
SGTL5000_VDDC_CHRGPMP_POWERUP
,
0
);
/* VDDC use VDDIO rail */
/* VDDC use VDDIO rail */
lreg_ctrl
|=
SGTL5000_VDDC_ASSN_OVRD
;
lreg_ctrl
|=
SGTL5000_VDDC_ASSN_OVRD
;
lreg_ctrl
|=
SGTL5000_VDDC_MAN_ASSN_VDDIO
<<
lreg_ctrl
|=
SGTL5000_VDDC_MAN_ASSN_VDDIO
<<
...
...
sound/soc/codecs/sn95031.c
View file @
33484c67
...
@@ -538,8 +538,8 @@ static const struct snd_soc_dapm_route sn95031_audio_map[] = {
...
@@ -538,8 +538,8 @@ static const struct snd_soc_dapm_route sn95031_audio_map[] = {
/* speaker map */
/* speaker map */
{
"IHFOUTL"
,
NULL
,
"Speaker Rail"
},
{
"IHFOUTL"
,
NULL
,
"Speaker Rail"
},
{
"IHFOUTR"
,
NULL
,
"Speaker Rail"
},
{
"IHFOUTR"
,
NULL
,
"Speaker Rail"
},
{
"IHFOUTL"
,
"NULL"
,
"Speaker Left Playback"
},
{
"IHFOUTL"
,
NULL
,
"Speaker Left Playback"
},
{
"IHFOUTR"
,
"NULL"
,
"Speaker Right Playback"
},
{
"IHFOUTR"
,
NULL
,
"Speaker Right Playback"
},
{
"Speaker Left Playback"
,
NULL
,
"Speaker Left Filter"
},
{
"Speaker Left Playback"
,
NULL
,
"Speaker Left Filter"
},
{
"Speaker Right Playback"
,
NULL
,
"Speaker Right Filter"
},
{
"Speaker Right Playback"
,
NULL
,
"Speaker Right Filter"
},
{
"Speaker Left Filter"
,
NULL
,
"IHFDAC Left"
},
{
"Speaker Left Filter"
,
NULL
,
"IHFDAC Left"
},
...
...
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