]> git.baikalelectronics.ru Git - kernel.git/commit
IDE: Unregister and disable devices if initialization fails.
authorIan Campbell <Ian.Campbell@citrix.com>
Mon, 2 Feb 2009 19:12:22 +0000 (20:12 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 2 Feb 2009 19:12:22 +0000 (20:12 +0100)
commitb50374378be174ab14905a7f12834cf18d3ab5c7
treec74c7ff2c3dfb2ca28498326b7ade3ad3a35abfc
parente8ad68f1b9403e18d9956af6fafc0e914cfd9058
IDE: Unregister and disable devices if initialization fails.

On reboot the loop in device_shutdown gets confused by these partially
initialized devices and goes into an infinite loop. Therefore unregister
and disable these devices.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
[bart: remove leftover hwif->present clearing + update patch description]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c