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
00fb0d98
Commit
00fb0d98
authored
Nov 10, 2010
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-2.6.37' into for-2.6.38
parents
fd8d3bc0
0049317e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
include/linux/mfd/wm8350/audio.h
include/linux/mfd/wm8350/audio.h
+0
-3
sound/soc/codecs/wm8350.c
sound/soc/codecs/wm8350.c
+8
-1
No files found.
include/linux/mfd/wm8350/audio.h
View file @
00fb0d98
...
...
@@ -522,9 +522,6 @@
#define WM8350_MCLK_SEL_PLL_32K 3
#define WM8350_MCLK_SEL_MCLK 5
#define WM8350_MCLK_DIR_OUT 0
#define WM8350_MCLK_DIR_IN 1
/* clock divider id's */
#define WM8350_ADC_CLKDIV 0
#define WM8350_DAC_CLKDIV 1
...
...
sound/soc/codecs/wm8350.c
View file @
00fb0d98
...
...
@@ -833,7 +833,7 @@ static int wm8350_set_dai_sysclk(struct snd_soc_dai *codec_dai,
}
/* MCLK direction */
if
(
dir
==
WM8350_MCLK_DIR
_OUT
)
if
(
dir
==
SND_SOC_CLOCK
_OUT
)
wm8350_set_bits
(
wm8350
,
WM8350_CLOCK_CONTROL_2
,
WM8350_MCLK_DIR
);
else
...
...
@@ -1588,6 +1588,13 @@ static int wm8350_codec_probe(struct snd_soc_codec *codec)
wm8350_set_bits
(
wm8350
,
WM8350_ROUT2_VOLUME
,
WM8350_OUT2_VU
|
WM8350_OUT2R_MUTE
);
/* Make sure AIF tristating is disabled by default */
wm8350_clear_bits
(
wm8350
,
WM8350_AI_FORMATING
,
WM8350_AIF_TRI
);
/* Make sure we've got a sane companding setup too */
wm8350_clear_bits
(
wm8350
,
WM8350_ADC_DAC_COMP
,
WM8350_DAC_COMP
|
WM8350_LOOPBACK
);
/* Make sure jack detect is disabled to start off with */
wm8350_clear_bits
(
wm8350
,
WM8350_JACK_DETECT
,
WM8350_JDL_ENA
|
WM8350_JDR_ENA
);
...
...
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