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
b5ab887e
Commit
b5ab887e
authored
Aug 18, 2009
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ASoC: Add TLV information to WM8711
Signed-off-by:
Mark Brown
<
broonie@opensource.wolfsonmicro.com
>
parent
431f7771
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sound/soc/codecs/wm8711.c
sound/soc/codecs/wm8711.c
+5
-2
No files found.
sound/soc/codecs/wm8711.c
View file @
b5ab887e
...
...
@@ -24,6 +24,7 @@
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include <sound/tlv.h>
#include <sound/initval.h>
#include "wm8711.h"
...
...
@@ -50,10 +51,12 @@ static const u16 wm8711_reg[WM8711_CACHEREGNUM] = {
#define wm8711_reset(c) snd_soc_write(c, WM8711_RESET, 0)
static
const
DECLARE_TLV_DB_SCALE
(
out_tlv
,
-
12100
,
100
,
1
);
static
const
struct
snd_kcontrol_new
wm8711_snd_controls
[]
=
{
SOC_DOUBLE_R
(
"Master Playback Volume"
,
WM8711_LOUT1V
,
WM8711_ROUT1V
,
0
,
127
,
0
),
SOC_DOUBLE_R
_TLV
(
"Master Playback Volume"
,
WM8711_LOUT1V
,
WM8711_ROUT1V
,
0
,
127
,
0
,
out_tlv
),
SOC_DOUBLE_R
(
"Master Playback ZC Switch"
,
WM8711_LOUT1V
,
WM8711_ROUT1V
,
7
,
1
,
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