diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2015-11-10 09:40:30 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-22 04:50:11 -0800 |
commit | 09f8a82b6abbff279f41ac2892707d3f0f32d00c (patch) | |
tree | a2b966423be1f8dcf99d6f41aefe19c048ac74c2 /include/sound | |
parent | 8c2a029c7eff14510fed04cef2848c6d21ed92dd (diff) |
fm10k: Cleanup exception handling for changing queues
This patch is meant to cleanup the exception handling for the paths where
we reset the interrupts and then reconfigure them. In all of these paths
we had very different levels of exception handling. I have updated the
driver so that all of the paths should result in a similar state if we
fail.
Specifically the driver will now unload the mailbox interrupt, free the
queue vectors and MSI-X, and then detach the interface.
In addition for any of the PCIe related resets I have added a check with
the hw_ready function to just make sure the registers are in a readable
state prior to reopening the interface.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions