From: Tejun Heo Date: Mon, 15 May 2006 11:57:30 +0000 (+0900) Subject: [PATCH] libata: fix ->phy_reset class code handling in ata_bus_probe() X-Git-Tag: v2.6.18-rc1~1079^2~98^2~50 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f8c2c4202d86e14ca03b7adc7ebcb30fc74b24e1;p=pandora-kernel.git [PATCH] libata: fix ->phy_reset class code handling in ata_bus_probe() ata_bus_probe() doesn't clear dev->class after ->phy_reset(). This can result in falsely enabled devices if probing fails. Clear dev->class to ATA_DEV_UNKNOWN after fetching it. Signed-off-by: Tejun Heo --- Reading git-diff-tree failed