Files
android_kernel_xiaomi_sm8450/drivers/ide
Bartlomiej Zolnierkiewicz e3b29f0512 ide: fix OOPS during ide-cd error recovery
On Tuesday 19 May 2009 20:29:28 Martin Lottermoser wrote:

>   hdc: cdrom_decode_status: error=0x40 <3>{ LastFailedSense=0x04 }
>   ide: failed opcode was: unknown
>   hdc: DMA disabled
>   ------------[ cut here ]------------
>   kernel BUG at drivers/ide/ide-io.c:872!

It is possible for ide-cd to ignore ide_error()'s return value under
some circumstances.  Workaround it in ide_intr() and ide_timer_expiry()
by checking if there is a device/port reset pending currently.

Fixes bug #13345:

	http://bugzilla.kernel.org/show_bug.cgi?id=13345

Reported-by: Martin Lottermoser <Martin.Lottermoser@t-online.de>
Reported-and-tested-by: Modestas Vainius <modestas@vainius.eu>
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-05-22 16:23:37 +02:00
..
2009-03-31 20:15:21 +02:00
2009-04-08 14:13:04 +02:00
2009-01-06 17:20:55 +01:00
2009-01-06 17:20:52 +01:00
2009-03-27 12:46:28 +01:00
2009-04-18 17:42:19 +02:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:03 +02:00
2009-03-27 12:46:45 +01:00
2009-04-08 14:13:02 +02:00
2009-03-31 20:15:33 +02:00
2009-03-31 20:15:26 +02:00
2009-03-27 12:46:34 +01:00
2009-04-08 14:13:03 +02:00
2009-04-08 14:13:03 +02:00
2009-03-27 12:46:18 +01:00
2009-04-08 14:13:03 +02:00
2009-04-08 14:13:03 +02:00
2009-01-06 17:20:52 +01:00
2008-11-02 21:40:08 +01:00
2009-04-08 14:13:03 +02:00
2009-04-18 17:42:19 +02:00
2008-10-26 09:35:05 -07:00
2009-04-08 14:13:03 +02:00
2009-01-06 17:20:52 +01:00
2009-04-08 14:13:03 +02:00