linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 07/63] ide-cd: add error message for DMA error to cdrom_read_intr()
@ 2007-12-20  0:57 Bartlomiej Zolnierkiewicz
  2007-12-21 13:04 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-12-20  0:57 UTC (permalink / raw)
  To: linux-ide; +Cc: linux-kernel


Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/ide-cd.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: b/drivers/ide/ide-cd.c
===================================================================
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1106,8 +1106,11 @@ static ide_startstop_t cdrom_read_intr (
 	 */
 	if (dma) {
 		info->dma = 0;
-		if ((dma_error = HWIF(drive)->ide_dma_end(drive)))
+		dma_error = HWIF(drive)->ide_dma_end(drive);
+		if (dma_error) {
+			printk(KERN_ERR "%s: DMA read error\n", drive->name);
 			ide_dma_off(drive);
+		}
 	}
 
 	if (cdrom_decode_status(drive, 0, &stat))

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 07/63] ide-cd: add error message for DMA error to cdrom_read_intr()
  2007-12-20  0:57 [PATCH 07/63] ide-cd: add error message for DMA error to cdrom_read_intr() Bartlomiej Zolnierkiewicz
@ 2007-12-21 13:04 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-12-21 13:04 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide, linux-kernel

Bartlomiej Zolnierkiewicz wrote:

> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

MBR, Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-21 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-20  0:57 [PATCH 07/63] ide-cd: add error message for DMA error to cdrom_read_intr() Bartlomiej Zolnierkiewicz
2007-12-21 13:04 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).