mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 19:23:57 +08:00
ide: use ide_end_rq() in ide_complete_rq()
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>
This commit is contained in:
parent
f974b196f5
commit
ba7d479c36
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user