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
15fc3a22
Commit
15fc3a22
authored
Jan 12, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/fix/rockchip' into asoc-linus
parents
5b139ebe
c66234cf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sound/soc/rockchip/rockchip_i2s.c
sound/soc/rockchip/rockchip_i2s.c
+6
-0
No files found.
sound/soc/rockchip/rockchip_i2s.c
View file @
15fc3a22
...
@@ -504,6 +504,7 @@ static bool rockchip_i2s_rd_reg(struct device *dev, unsigned int reg)
...
@@ -504,6 +504,7 @@ static bool rockchip_i2s_rd_reg(struct device *dev, unsigned int reg)
case
I2S_INTCR
:
case
I2S_INTCR
:
case
I2S_XFER
:
case
I2S_XFER
:
case
I2S_CLR
:
case
I2S_CLR
:
case
I2S_TXDR
:
case
I2S_RXDR
:
case
I2S_RXDR
:
case
I2S_FIFOLR
:
case
I2S_FIFOLR
:
case
I2S_INTSR
:
case
I2S_INTSR
:
...
@@ -518,6 +519,9 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
...
@@ -518,6 +519,9 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
switch
(
reg
)
{
switch
(
reg
)
{
case
I2S_INTSR
:
case
I2S_INTSR
:
case
I2S_CLR
:
case
I2S_CLR
:
case
I2S_FIFOLR
:
case
I2S_TXDR
:
case
I2S_RXDR
:
return
true
;
return
true
;
default:
default:
return
false
;
return
false
;
...
@@ -527,6 +531,8 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
...
@@ -527,6 +531,8 @@ static bool rockchip_i2s_volatile_reg(struct device *dev, unsigned int reg)
static
bool
rockchip_i2s_precious_reg
(
struct
device
*
dev
,
unsigned
int
reg
)
static
bool
rockchip_i2s_precious_reg
(
struct
device
*
dev
,
unsigned
int
reg
)
{
{
switch
(
reg
)
{
switch
(
reg
)
{
case
I2S_RXDR
:
return
true
;
default:
default:
return
false
;
return
false
;
}
}
...
...
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