Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Container Registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Linaro
qcomlt
demos
linux
Commits
16796819
Commit
16796819
authored
16 years ago
by
Takashi Iwai
Browse files
Options
Downloads
Plain Diff
Merge branch 'topic/asoc' into for-linus
parents
5439e726
227b4dc6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
sound/soc/atmel/sam9g20_wm8731.c
+2
-2
2 additions, 2 deletions
sound/soc/atmel/sam9g20_wm8731.c
sound/soc/codecs/Kconfig
+15
-5
15 additions, 5 deletions
sound/soc/codecs/Kconfig
with
17 additions
and
7 deletions
sound/soc/atmel/sam9g20_wm8731.c
+
2
−
2
View file @
16796819
...
...
@@ -221,8 +221,8 @@ static int at91sam9g20ek_wm8731_init(struct snd_soc_codec *codec)
snd_soc_dapm_add_routes
(
codec
,
intercon
,
ARRAY_SIZE
(
intercon
));
/* not connected */
snd_soc_dapm_
disable
_pin
(
codec
,
"RLINEIN"
);
snd_soc_dapm_
disable
_pin
(
codec
,
"LLINEIN"
);
snd_soc_dapm_
nc
_pin
(
codec
,
"RLINEIN"
);
snd_soc_dapm_
nc
_pin
(
codec
,
"LLINEIN"
);
/* always connected */
snd_soc_dapm_enable_pin
(
codec
,
"Int Mic"
);
...
...
This diff is collapsed.
Click to expand it.
sound/soc/codecs/Kconfig
+
15
−
5
View file @
16796819
# Helper to resolve issues with configs that have SPI enabled but I2C
# modular, meaning we can't build the codec driver in with I2C support.
# We use an ordered list of conditional defaults to pick the appropriate
# setting - SPI can't be modular so that case doesn't need to be covered.
config SND_SOC_I2C_AND_SPI
tristate
default m if I2C=m
default y if I2C=y
default y if SPI_MASTER=y
config SND_SOC_ALL_CODECS
tristate "Build all ASoC CODEC drivers"
select SND_SOC_AC97_CODEC if SND_SOC_AC97_BUS
...
...
@@ -14,12 +24,12 @@ config SND_SOC_ALL_CODECS
select SND_SOC_UDA134X
select SND_SOC_UDA1380 if I2C
select SND_SOC_WM8350 if MFD_WM8350
select SND_SOC_WM8510 if
(I2C || SPI_MASTER)
select SND_SOC_WM8510 if
SND_SOC_I2C_AND_SPI
select SND_SOC_WM8580 if I2C
select SND_SOC_WM8728 if
(I2C || SPI_MASTER)
select SND_SOC_WM8731 if
(I2C || SPI_MASTER)
select SND_SOC_WM8750 if
(I2C || SPI_MASTER)
select SND_SOC_WM8753 if
(I2C || SPI_MASTER)
select SND_SOC_WM8728 if
SND_SOC_I2C_AND_SPI
select SND_SOC_WM8731 if
SND_SOC_I2C_AND_SPI
select SND_SOC_WM8750 if
SND_SOC_I2C_AND_SPI
select SND_SOC_WM8753 if
SND_SOC_I2C_AND_SPI
select SND_SOC_WM8900 if I2C
select SND_SOC_WM8903 if I2C
select SND_SOC_WM8971 if I2C
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment