projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f974b19
)
ide: use ide_end_rq() in ide_complete_rq()
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:44 +0000
(12:46 +0100)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Fri, 27 Mar 2009 11:46:44 +0000
(12:46 +0100)
This results in PIO->DMA retry being triggered also on completion
of requests using ide_complete_rq() instead of ide_end_request().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-io.c
b/drivers/ide/ide-io.c
index a4aa4bf847382ddcfc30ffe06cf5a02d69e3054c..8e2868617a468d261adc12bdafc85d09e91cfd61 100644
(file)
--- a/
drivers/ide/ide-io.c
+++ b/
drivers/ide/ide-io.c
@@
-147,7
+147,7
@@
int ide_complete_rq(ide_drive_t *drive, int error, unsigned int nr_bytes)
struct request *rq = hwif->rq;
int rc;
- rc =
blk_end_request(
rq, error, nr_bytes);
+ rc =
ide_end_rq(drive,
rq, error, nr_bytes);
if (rc == 0)
hwif->rq = NULL;