commit | f8c2c4202d86e14ca03b7adc7ebcb30fc74b24e1 | [log] [tgz] |
---|---|---|
author | Tejun Heo <htejun@gmail.com> | Mon May 15 20:57:30 2006 +0900 |
committer | Tejun Heo <htejun@gmail.com> | Mon May 15 20:57:30 2006 +0900 |
tree | acd1428c4cf8f6b2370db54f368309143774e72a | |
parent | 6cd727b14f1a6cdcb088d1067c1ba0ba124806a7 [diff] |
[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 <htejun@gmail.com>