Skip to content
Commit 1e641060 authored by Tejun Heo's avatar Tejun Heo Committed by Jeff Garzik
Browse files

libata: clear eh_info on reset completion



Resets are done with port frozen but some controllers still issue
interrupts during reset and they may end up recording error conditions
in ehi leading to unnecessary EH retrials.

This patch makes ata_eh_reset() clear ehi on reset completion.  As
reset is the most severe recovery action, there's nothing to lose by
clearing ehi on its completion.

Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Reported-by: default avatarZdenek Kaspar <zkaspar82@gmail.com>
Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
parent 388539f3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment