Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ath
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
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
CodeLinaro
qsdk
kvalo
ath
Commits
78a1287b
Unverified
Commit
78a1287b
authored
7 years ago
by
Mark Brown
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'asoc/topic/pcm5102a' into asoc-next
parents
91898117
d5e90bad
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sound/soc/codecs/pcm5102a.c
+7
-9
7 additions, 9 deletions
sound/soc/codecs/pcm5102a.c
with
7 additions
and
9 deletions
sound/soc/codecs/pcm5102a.c
+
7
−
9
View file @
78a1287b
...
...
@@ -32,20 +32,19 @@ static struct snd_soc_dai_driver pcm5102a_dai = {
},
};
static
struct
snd_soc_codec_driver
soc_codec_dev_pcm5102a
;
static
struct
snd_soc_component_driver
soc_component_dev_pcm5102a
=
{
.
idle_bias_on
=
1
,
.
use_pmdown_time
=
1
,
.
endianness
=
1
,
.
non_legacy_dai_naming
=
1
,
};
static
int
pcm5102a_probe
(
struct
platform_device
*
pdev
)
{
return
snd_soc_register_co
dec
(
&
pdev
->
dev
,
&
soc_co
dec
_dev_pcm5102a
,
return
devm_
snd_soc_register_co
mponent
(
&
pdev
->
dev
,
&
soc_co
mponent
_dev_pcm5102a
,
&
pcm5102a_dai
,
1
);
}
static
int
pcm5102a_remove
(
struct
platform_device
*
pdev
)
{
snd_soc_unregister_codec
(
&
pdev
->
dev
);
return
0
;
}
static
const
struct
of_device_id
pcm5102a_of_match
[]
=
{
{
.
compatible
=
"ti,pcm5102a"
,
},
{
}
...
...
@@ -54,7 +53,6 @@ MODULE_DEVICE_TABLE(of, pcm5102a_of_match);
static
struct
platform_driver
pcm5102a_codec_driver
=
{
.
probe
=
pcm5102a_probe
,
.
remove
=
pcm5102a_remove
,
.
driver
=
{
.
name
=
"pcm5102a-codec"
,
.
of_match_table
=
pcm5102a_of_match
,
...
...
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