Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f8c2c420 authored by Tejun Heo's avatar Tejun Heo
Browse files

[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: default avatarTejun Heo <htejun@gmail.com>
parent 6cd727b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment