From: Bartlomiej Zolnierkiewicz Date: Tue, 26 Feb 2008 20:50:35 +0000 (+0100) Subject: ide-cd: fix 'ireason' handling for REQ_TYPE_ATA_PC requests X-Git-Tag: v2.6.25-rc4~151^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f10d9ee0ac6d79d7bc8b9a158bf4a29322d84d3;p=pandora-kernel.git ide-cd: fix 'ireason' handling for REQ_TYPE_ATA_PC requests Pass 'struct request *rq' to ide_cd_check_ireason() from cdrom_newpc_intr() and use ide_cd_check_ireason() also for REQ_TYPE_ATA_PC requests. This fixes some hangs caused by not finishing the transfer before ending the request and also makes use of 'ireason == 1' quirk for spurious IRQs. Tested-by: Brad Rosser Cc: Borislav Petkov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed