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
c4e321b8
Commit
c4e321b8
authored
Aug 10, 2006
by
Greg Kroah-Hartman
Browse files
Options
Browse Files
Download
Plain Diff
Merge gregkh@master.kernel.org:/home/rmk/linux-2.6-mmc
parents
f8872f4c
dd2c609c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
drivers/mmc/mmc_queue.c
drivers/mmc/mmc_queue.c
+2
-1
drivers/mmc/wbsd.c
drivers/mmc/wbsd.c
+5
-4
No files found.
drivers/mmc/mmc_queue.c
View file @
c4e321b8
...
...
@@ -79,7 +79,8 @@ static int mmc_queue_thread(void *d)
spin_lock_irq
(
q
->
queue_lock
);
set_current_state
(
TASK_INTERRUPTIBLE
);
if
(
!
blk_queue_plugged
(
q
))
mq
->
req
=
req
=
elv_next_request
(
q
);
req
=
elv_next_request
(
q
);
mq
->
req
=
req
;
spin_unlock_irq
(
q
->
queue_lock
);
if
(
!
req
)
{
...
...
drivers/mmc/wbsd.c
View file @
c4e321b8
...
...
@@ -41,7 +41,7 @@
#include "wbsd.h"
#define DRIVER_NAME "wbsd"
#define DRIVER_VERSION "1.
5
"
#define DRIVER_VERSION "1.
6
"
#define DBG(x...) \
pr_debug(DRIVER_NAME ": " x)
...
...
@@ -1439,13 +1439,13 @@ static int __devinit wbsd_scan(struct wbsd_host *host)
static
int
__devinit
wbsd_request_region
(
struct
wbsd_host
*
host
,
int
base
)
{
if
(
io
&
0x7
)
if
(
base
&
0x7
)
return
-
EINVAL
;
if
(
!
request_region
(
base
,
8
,
DRIVER_NAME
))
return
-
EIO
;
host
->
base
=
io
;
host
->
base
=
base
;
return
0
;
}
...
...
@@ -1773,7 +1773,7 @@ static int __devinit wbsd_init(struct device *dev, int base, int irq, int dma,
/*
* Request resources.
*/
ret
=
wbsd_request_resources
(
host
,
io
,
irq
,
dma
);
ret
=
wbsd_request_resources
(
host
,
base
,
irq
,
dma
);
if
(
ret
)
{
wbsd_release_resources
(
host
);
wbsd_free_mmc
(
dev
);
...
...
@@ -1861,6 +1861,7 @@ static void __devexit wbsd_shutdown(struct device *dev, int pnp)
static
int
__devinit
wbsd_probe
(
struct
platform_device
*
dev
)
{
/* Use the module parameters for resources */
return
wbsd_init
(
&
dev
->
dev
,
io
,
irq
,
dma
,
0
);
}
...
...
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