Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
b1769450
Commit
b1769450
authored
Nov 09, 2008
by
Dominik Brodowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcmcia: ensure correct logging in do_io_probe
Signed-off-by:
Dominik Brodowski
<
linux@dominikbrodowski.net
>
parent
980fc29f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
drivers/pcmcia/cs.c
drivers/pcmcia/cs.c
+6
-6
No files found.
drivers/pcmcia/cs.c
View file @
b1769450
...
...
@@ -186,12 +186,6 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
spin_lock_init
(
&
socket
->
lock
);
if
(
socket
->
resource_ops
->
init
)
{
ret
=
socket
->
resource_ops
->
init
(
socket
);
if
(
ret
)
return
(
ret
);
}
/* try to obtain a socket number [yes, it gets ugly if we
* register more than 2^sizeof(unsigned int) pcmcia
* sockets... but the socket number is deprecated
...
...
@@ -239,6 +233,12 @@ int pcmcia_register_socket(struct pcmcia_socket *socket)
mutex_init
(
&
socket
->
skt_mutex
);
spin_lock_init
(
&
socket
->
thread_lock
);
if
(
socket
->
resource_ops
->
init
)
{
ret
=
socket
->
resource_ops
->
init
(
socket
);
if
(
ret
)
goto
err
;
}
tsk
=
kthread_run
(
pccardd
,
socket
,
"pccardd"
);
if
(
IS_ERR
(
tsk
))
{
ret
=
PTR_ERR
(
tsk
);
...
...
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