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
1ee9271d
Commit
1ee9271d
authored
Jun 17, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/samsung' into asoc-next
parents
60790c57
939d3c6a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
2 deletions
+14
-2
sound/soc/samsung/bells.c
sound/soc/samsung/bells.c
+14
-0
sound/soc/samsung/smdk_wm8580pcm.c
sound/soc/samsung/smdk_wm8580pcm.c
+0
-1
sound/soc/samsung/smdk_wm8994pcm.c
sound/soc/samsung/smdk_wm8994pcm.c
+0
-1
No files found.
sound/soc/samsung/bells.c
View file @
1ee9271d
...
@@ -350,8 +350,16 @@ static struct snd_soc_codec_conf bells_codec_conf[] = {
...
@@ -350,8 +350,16 @@ static struct snd_soc_codec_conf bells_codec_conf[] = {
},
},
};
};
static
struct
snd_soc_dapm_widget
bells_widgets
[]
=
{
SND_SOC_DAPM_MIC
(
"DMIC"
,
NULL
),
};
static
struct
snd_soc_dapm_route
bells_routes
[]
=
{
static
struct
snd_soc_dapm_route
bells_routes
[]
=
{
{
"Sub CLK_SYS"
,
NULL
,
"OPCLK"
},
{
"Sub CLK_SYS"
,
NULL
,
"OPCLK"
},
{
"DMIC"
,
NULL
,
"MICBIAS2"
},
{
"IN2L"
,
NULL
,
"DMIC"
},
{
"IN2R"
,
NULL
,
"DMIC"
},
};
};
static
struct
snd_soc_card
bells_cards
[]
=
{
static
struct
snd_soc_card
bells_cards
[]
=
{
...
@@ -365,6 +373,8 @@ static struct snd_soc_card bells_cards[] = {
...
@@ -365,6 +373,8 @@ static struct snd_soc_card bells_cards[] = {
.
late_probe
=
bells_late_probe
,
.
late_probe
=
bells_late_probe
,
.
dapm_widgets
=
bells_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
bells_widgets
),
.
dapm_routes
=
bells_routes
,
.
dapm_routes
=
bells_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
...
@@ -383,6 +393,8 @@ static struct snd_soc_card bells_cards[] = {
...
@@ -383,6 +393,8 @@ static struct snd_soc_card bells_cards[] = {
.
late_probe
=
bells_late_probe
,
.
late_probe
=
bells_late_probe
,
.
dapm_widgets
=
bells_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
bells_widgets
),
.
dapm_routes
=
bells_routes
,
.
dapm_routes
=
bells_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
...
@@ -401,6 +413,8 @@ static struct snd_soc_card bells_cards[] = {
...
@@ -401,6 +413,8 @@ static struct snd_soc_card bells_cards[] = {
.
late_probe
=
bells_late_probe
,
.
late_probe
=
bells_late_probe
,
.
dapm_widgets
=
bells_widgets
,
.
num_dapm_widgets
=
ARRAY_SIZE
(
bells_widgets
),
.
dapm_routes
=
bells_routes
,
.
dapm_routes
=
bells_routes
,
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
.
num_dapm_routes
=
ARRAY_SIZE
(
bells_routes
),
...
...
sound/soc/samsung/smdk_wm8580pcm.c
View file @
1ee9271d
...
@@ -176,7 +176,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
...
@@ -176,7 +176,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
static
int
snd_smdk_remove
(
struct
platform_device
*
pdev
)
static
int
snd_smdk_remove
(
struct
platform_device
*
pdev
)
{
{
snd_soc_unregister_card
(
&
smdk_pcm
);
snd_soc_unregister_card
(
&
smdk_pcm
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
return
0
;
}
}
...
...
sound/soc/samsung/smdk_wm8994pcm.c
View file @
1ee9271d
...
@@ -146,7 +146,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
...
@@ -146,7 +146,6 @@ static int snd_smdk_probe(struct platform_device *pdev)
static
int
snd_smdk_remove
(
struct
platform_device
*
pdev
)
static
int
snd_smdk_remove
(
struct
platform_device
*
pdev
)
{
{
snd_soc_unregister_card
(
&
smdk_pcm
);
snd_soc_unregister_card
(
&
smdk_pcm
);
platform_set_drvdata
(
pdev
,
NULL
);
return
0
;
return
0
;
}
}
...
...
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