···28022802 }2803280328042804 /*28052805- * Some controllers can't be frozen very well and may set28062806- * spuruious error conditions during reset. Clear accumulated28072807- * error information. As reset is the final recovery action,28082808- * nothing is lost by doing this.28052805+ * Some controllers can't be frozen very well and may set spurious28062806+ * error conditions during reset. Clear accumulated error28072807+ * information and re-thaw the port if frozen. As reset is the28082808+ * final recovery action and we cross check link onlineness against28092809+ * device classification later, no hotplug event is lost by this.28092810 */28102811 spin_lock_irqsave(link->ap->lock, flags);28112812 memset(&link->eh_info, 0, sizeof(link->eh_info));···28142813 memset(&slave->eh_info, 0, sizeof(link->eh_info));28152814 ap->pflags &= ~ATA_PFLAG_EH_PENDING;28162815 spin_unlock_irqrestore(link->ap->lock, flags);28162816+28172817+ if (ap->pflags & ATA_PFLAG_FROZEN)28182818+ ata_eh_thaw_port(ap);2817281928182820 /*28192821 * Make sure onlineness and classification result correspond.