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
e3470da9
Commit
e3470da9
authored
Nov 22, 2011
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-3.2' into for-3.3
parents
dbb1f516
5c4b2aa3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
sound/soc/codecs/ad1836.h
sound/soc/codecs/ad1836.h
+1
-1
sound/soc/codecs/max9877.c
sound/soc/codecs/max9877.c
+5
-5
No files found.
sound/soc/codecs/ad1836.h
View file @
e3470da9
...
...
@@ -34,7 +34,7 @@
#define AD1836_ADC_CTRL2 13
#define AD1836_ADC_WORD_LEN_MASK 0x30
#define AD1836_ADC_WORD_OFFSET
5
#define AD1836_ADC_WORD_OFFSET
4
#define AD1836_ADC_SERFMT_MASK (7 << 6)
#define AD1836_ADC_SERFMT_PCK256 (0x4 << 6)
#define AD1836_ADC_SERFMT_PCK128 (0x5 << 6)
...
...
sound/soc/codecs/max9877.c
View file @
e3470da9
...
...
@@ -106,13 +106,13 @@ static int max9877_set_2reg(struct snd_kcontrol *kcontrol,
unsigned
int
mask
=
mc
->
max
;
unsigned
int
val
=
(
ucontrol
->
value
.
integer
.
value
[
0
]
&
mask
);
unsigned
int
val2
=
(
ucontrol
->
value
.
integer
.
value
[
1
]
&
mask
);
unsigned
int
change
=
1
;
unsigned
int
change
=
0
;
if
(((
max9877_regs
[
reg
]
>>
shift
)
&
mask
)
=
=
val
)
change
=
0
;
if
(((
max9877_regs
[
reg
]
>>
shift
)
&
mask
)
!
=
val
)
change
=
1
;
if
(((
max9877_regs
[
reg2
]
>>
shift
)
&
mask
)
=
=
val2
)
change
=
0
;
if
(((
max9877_regs
[
reg2
]
>>
shift
)
&
mask
)
!
=
val2
)
change
=
1
;
if
(
change
)
{
max9877_regs
[
reg
]
&=
~
(
mask
<<
shift
);
...
...
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