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
7e718b4b
Commit
7e718b4b
authored
Sep 01, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'spi/topic/core' into spi-next
parents
1f54f942
e93b0724
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/spi/spi.c
drivers/spi/spi.c
+2
-2
No files found.
drivers/spi/spi.c
View file @
7e718b4b
...
@@ -774,7 +774,7 @@ static int spi_queued_transfer(struct spi_device *spi, struct spi_message *msg)
...
@@ -774,7 +774,7 @@ static int spi_queued_transfer(struct spi_device *spi, struct spi_message *msg)
msg
->
status
=
-
EINPROGRESS
;
msg
->
status
=
-
EINPROGRESS
;
list_add_tail
(
&
msg
->
queue
,
&
master
->
queue
);
list_add_tail
(
&
msg
->
queue
,
&
master
->
queue
);
if
(
master
->
running
&&
!
master
->
busy
)
if
(
!
master
->
busy
)
queue_kthread_work
(
&
master
->
kworker
,
&
master
->
pump_messages
);
queue_kthread_work
(
&
master
->
kworker
,
&
master
->
pump_messages
);
spin_unlock_irqrestore
(
&
master
->
queue_lock
,
flags
);
spin_unlock_irqrestore
(
&
master
->
queue_lock
,
flags
);
...
@@ -1169,7 +1169,7 @@ int spi_register_master(struct spi_master *master)
...
@@ -1169,7 +1169,7 @@ int spi_register_master(struct spi_master *master)
else
{
else
{
status
=
spi_master_initialize_queue
(
master
);
status
=
spi_master_initialize_queue
(
master
);
if
(
status
)
{
if
(
status
)
{
device_
unregister
(
&
master
->
dev
);
device_
del
(
&
master
->
dev
);
goto
done
;
goto
done
;
}
}
}
}
...
...
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