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
Kirill Smelkov
linux
Commits
845571cc
Commit
845571cc
authored
Dec 18, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: arizona: Add noise gate hold time enumeration
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
02482da4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
sound/soc/codecs/arizona.c
sound/soc/codecs/arizona.c
+9
-0
sound/soc/codecs/arizona.h
sound/soc/codecs/arizona.h
+2
-0
No files found.
sound/soc/codecs/arizona.c
View file @
845571cc
...
...
@@ -275,6 +275,15 @@ const struct soc_enum arizona_lhpf4_mode =
arizona_lhpf_mode_text
);
EXPORT_SYMBOL_GPL
(
arizona_lhpf4_mode
);
static
const
char
*
arizona_ng_hold_text
[]
=
{
"30ms"
,
"120ms"
,
"250ms"
,
"500ms"
,
};
const
struct
soc_enum
arizona_ng_hold
=
SOC_ENUM_SINGLE
(
ARIZONA_NOISE_GATE_CONTROL
,
ARIZONA_NGATE_HOLD_SHIFT
,
4
,
arizona_ng_hold_text
);
EXPORT_SYMBOL_GPL
(
arizona_ng_hold
);
int
arizona_in_ev
(
struct
snd_soc_dapm_widget
*
w
,
struct
snd_kcontrol
*
kcontrol
,
int
event
)
{
...
...
sound/soc/codecs/arizona.h
View file @
845571cc
...
...
@@ -176,6 +176,8 @@ extern const struct soc_enum arizona_lhpf2_mode;
extern
const
struct
soc_enum
arizona_lhpf3_mode
;
extern
const
struct
soc_enum
arizona_lhpf4_mode
;
extern
const
struct
soc_enum
arizona_ng_hold
;
extern
int
arizona_in_ev
(
struct
snd_soc_dapm_widget
*
w
,
struct
snd_kcontrol
*
kcontrol
,
int
event
);
...
...
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