summaryrefslogtreecommitdiff
path: root/net/can
diff options
context:
space:
mode:
authorSam Bobroff <sbobroff@linux.ibm.com>2018-05-25 13:11:39 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2018-06-03 20:43:41 +1000
commit665012c5734b0f2123dfb4b2bdd44c3344647b9a (patch)
tree6bfbf954ef2a77aa7663a986ba606c90f643c87d /net/can
parent010acfa1a76679174a0d8732965d76ae8a8531f7 (diff)
powerpc/eeh: Cleaner handling of EEH_DEV_NO_HANDLER
If a device without a driver is recovered via EEH, the flag EEH_DEV_NO_HANDLER is incorrectly left set on the device after recovery, because the test in eeh_report_resume() for the existence of a bound driver is done before the flag is cleared. If a driver is later bound, and EEH experienced again, some of the drivers EEH handers are not called. To correct this, clear the flag unconditionally after EEH processing is complete. Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions