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
5ec393bc
Commit
5ec393bc
authored
Jun 17, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'asoc/topic/fsi' into asoc-next
parents
59338599
c375b2d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
sound/soc/sh/fsi.c
sound/soc/sh/fsi.c
+7
-3
No files found.
sound/soc/sh/fsi.c
View file @
5ec393bc
...
...
@@ -276,7 +276,7 @@ struct fsi_stream_handler {
int
(
*
probe
)(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
struct
device
*
dev
);
int
(
*
transfer
)(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
);
int
(
*
remove
)(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
);
void
(
*
start_stop
)(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
int
(
*
start_stop
)(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
int
enable
);
};
#define fsi_stream_handler_call(io, func, args...) \
...
...
@@ -1188,7 +1188,7 @@ static int fsi_pio_push(struct fsi_priv *fsi, struct fsi_stream *io)
samples
);
}
static
void
fsi_pio_start_stop
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
static
int
fsi_pio_start_stop
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
int
enable
)
{
struct
fsi_master
*
master
=
fsi_get_master
(
fsi
);
...
...
@@ -1201,6 +1201,8 @@ static void fsi_pio_start_stop(struct fsi_priv *fsi, struct fsi_stream *io,
if
(
fsi_is_clk_master
(
fsi
))
fsi_master_mask_set
(
master
,
CLK_RST
,
clk
,
(
enable
)
?
clk
:
0
);
return
0
;
}
static
int
fsi_pio_push_init
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
)
...
...
@@ -1409,7 +1411,7 @@ static int fsi_dma_transfer(struct fsi_priv *fsi, struct fsi_stream *io)
return
0
;
}
static
void
fsi_dma_push_start_stop
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
static
int
fsi_dma_push_start_stop
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
int
start
)
{
struct
fsi_master
*
master
=
fsi_get_master
(
fsi
);
...
...
@@ -1422,6 +1424,8 @@ static void fsi_dma_push_start_stop(struct fsi_priv *fsi, struct fsi_stream *io,
if
(
fsi_is_clk_master
(
fsi
))
fsi_master_mask_set
(
master
,
CLK_RST
,
clk
,
(
enable
)
?
clk
:
0
);
return
0
;
}
static
int
fsi_dma_probe
(
struct
fsi_priv
*
fsi
,
struct
fsi_stream
*
io
,
struct
device
*
dev
)
...
...
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