]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
libata: -ENODEV during prereset isn't an error
authorTejun Heo <htejun@gmail.com>
Wed, 23 May 2007 09:58:52 +0000 (11:58 +0200)
committerJeff Garzik <jeff@garzik.org>
Fri, 25 May 2007 00:34:48 +0000 (20:34 -0400)
commit6dffaf61e22d21e539ae7e30c2e33e41230c3d52
tree35a74b89240675bbef7fcc825ece5e5ad29d1d62
parentfd7fe701612e42fb8780d7bf61fbb0467a488c9b
libata: -ENODEV during prereset isn't an error

During prereset, -ENODEV return from ata_wait_ready() is not an error.
This causes unnecessary bug message on controllers which uses 0xff to
indicate empty port.  Fix it.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-core.c