Commit 6e8b5dcf authored by Linus Torvalds's avatar Linus Torvalds

Make ide-cd handle a REQ_BLOCK_PC packet command completion

properly (which is to say the same as REQ_PC).
parent f6e16450
......@@ -678,7 +678,7 @@ static int cdrom_decode_status (ide_startstop_t *startstop, ide_drive_t *drive,
*startstop = DRIVER(drive)->error(drive, "request sense failure", stat);
return 1;
} else if (rq->flags & REQ_PC) {
} else if (rq->flags & (REQ_PC | REQ_BLOCK_PC)) {
/* All other functions, except for READ. */
struct completion *wait = NULL;
pc = (struct packet_command *) rq->buffer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment