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
79617073
Commit
79617073
authored
Jun 19, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spi/s3c64xx: Make wait_for_timeout() function name less generic
Signed-off-by:
Mark Brown
<
broonie@linaro.org
>
parent
7e995556
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
drivers/spi/spi-s3c64xx.c
drivers/spi/spi-s3c64xx.c
+3
-2
No files found.
drivers/spi/spi-s3c64xx.c
View file @
79617073
...
...
@@ -583,7 +583,7 @@ static inline void enable_cs(struct s3c64xx_spi_driver_data *sdd,
writel
(
0
,
sdd
->
regs
+
S3C64XX_SPI_SLAVE_SEL
);
}
static
u32
wait_for_timeout
(
struct
s3c64xx_spi_driver_data
*
sdd
,
static
u32
s3c64xx_spi_
wait_for_timeout
(
struct
s3c64xx_spi_driver_data
*
sdd
,
int
timeout_ms
)
{
void
__iomem
*
regs
=
sdd
->
regs
;
...
...
@@ -676,7 +676,8 @@ static int wait_for_xfer(struct s3c64xx_spi_driver_data *sdd,
buf
=
xfer
->
rx_buf
;
do
{
/* wait for data to be received in the fifo */
cpy_len
=
wait_for_timeout
(
sdd
,
(
loops
?
ms
:
0
));
cpy_len
=
s3c64xx_spi_wait_for_timeout
(
sdd
,
(
loops
?
ms
:
0
));
switch
(
sdd
->
cur_bpw
)
{
case
32
:
...
...
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