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
7b1ad402
Commit
7b1ad402
authored
Jul 24, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/pcm1681' into asoc-next
parents
44d62462
a074ae0e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sound/soc/codecs/pcm1681.c
sound/soc/codecs/pcm1681.c
+1
-1
sound/soc/codecs/pcm179x.c
sound/soc/codecs/pcm179x.c
+1
-1
No files found.
sound/soc/codecs/pcm1681.c
View file @
7b1ad402
...
@@ -73,7 +73,7 @@ static bool pcm1681_accessible_reg(struct device *dev, unsigned int reg)
...
@@ -73,7 +73,7 @@ static bool pcm1681_accessible_reg(struct device *dev, unsigned int reg)
return
!
((
reg
==
0x00
)
||
(
reg
==
0x0f
));
return
!
((
reg
==
0x00
)
||
(
reg
==
0x0f
));
}
}
static
bool
pcm1681_writeable_reg
(
struct
device
*
dev
,
unsigned
register
reg
)
static
bool
pcm1681_writeable_reg
(
struct
device
*
dev
,
unsigned
int
reg
)
{
{
return
pcm1681_accessible_reg
(
dev
,
reg
)
&&
return
pcm1681_accessible_reg
(
dev
,
reg
)
&&
(
reg
!=
PCM1681_ZERO_DETECT_STATUS
);
(
reg
!=
PCM1681_ZERO_DETECT_STATUS
);
...
...
sound/soc/codecs/pcm179x.c
View file @
7b1ad402
...
@@ -59,7 +59,7 @@ static bool pcm179x_accessible_reg(struct device *dev, unsigned int reg)
...
@@ -59,7 +59,7 @@ static bool pcm179x_accessible_reg(struct device *dev, unsigned int reg)
return
reg
>=
0x10
&&
reg
<=
0x17
;
return
reg
>=
0x10
&&
reg
<=
0x17
;
}
}
static
bool
pcm179x_writeable_reg
(
struct
device
*
dev
,
unsigned
register
reg
)
static
bool
pcm179x_writeable_reg
(
struct
device
*
dev
,
unsigned
int
reg
)
{
{
bool
accessible
;
bool
accessible
;
...
...
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