]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/sata_sil.c
libata: clear link->eh_info.serror from ata_std_postreset()
[mv-sheeva.git] / drivers / ata / sata_sil.c
index 025622b14efb5dd141ab59e8487221d45205b048..f5119bf40c24f0e9e65219208e2fd65a47137e1f 100644 (file)
@@ -394,16 +394,7 @@ static void sil_host_intr(struct ata_port *ap, u32 bmdma2)
                 * it's PHYRDY CHG.
                 */
                if (serror & SERR_PHYRDY_CHG) {
-                       /* Trigger hotplug and accumulate SError only
-                        * if the port isn't already frozen.
-                        * Otherwise, PHY events during hardreset
-                        * makes controllers with broken SIEN repeat
-                        * probing needlessly.
-                        */
-                       if (!(ap->pflags & ATA_PFLAG_FROZEN)) {
-                               ata_ehi_hotplugged(&ap->link.eh_info);
-                               ap->link.eh_info.serror |= serror;
-                       }
+                       ap->link.eh_info.serror |= serror;
                        goto freeze;
                }