Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Linux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
jan.koester
Linux
Commits
a6f096f3
Commit
a6f096f3
authored
13 years ago
by
Mark Brown
Browse files
Options
Downloads
Patches
Plain Diff
ASoC: Convert DA7210 to table based DAPM init
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
bc6ae96a
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
sound/soc/codecs/da7210.c
+3
-3
3 additions, 3 deletions
sound/soc/codecs/da7210.c
with
3 additions
and
3 deletions
sound/soc/codecs/da7210.c
+
3
−
3
View file @
a6f096f3
...
...
@@ -528,9 +528,6 @@ static int da7210_probe(struct snd_soc_codec *codec)
/* Activate all enabled subsystem */
snd_soc_write
(
codec
,
DA7210_STARTUP1
,
DA7210_SC_MST_EN
);
snd_soc_add_controls
(
codec
,
da7210_snd_controls
,
ARRAY_SIZE
(
da7210_snd_controls
));
dev_info
(
codec
->
dev
,
"DA7210 Audio Codec %s
\n
"
,
DA7210_VERSION
);
return
0
;
...
...
@@ -542,6 +539,9 @@ static struct snd_soc_codec_driver soc_codec_dev_da7210 = {
.
reg_word_size
=
sizeof
(
u8
),
.
reg_cache_default
=
da7210_reg
,
.
volatile_register
=
da7210_volatile_register
,
.
controls
=
da7210_snd_controls
,
.
num_controls
=
ARRAY_SIZE
(
da7210_snd_controls
),
};
#if defined(CONFIG_I2C) || defined(CONFIG_I2C_MODULE)
...
...
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