commit | a021f3019db7b40f0fe85b0a64c6be21e3665fbf | [log] [tgz] |
---|---|---|
author | Bjorn Helgaas <bhelgaas@google.com> | Fri Jul 17 15:43:27 2015 -0500 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Thu Aug 13 15:57:30 2015 -0500 |
tree | f08e6bd7d8d473719fc2b7bfbe5dbe2b787f2cec | |
parent | c39127dbaf6c267f18d1cac14e2b0ecbfaa52d63 [diff] |
PCI: Clean up ATS error handling There's no need to BUG() if we enable ATS when it's already enabled. We don't need to BUG() when disabling ATS on a device that doesn't support ATS or if it's already disabled. If ATS is enabled, certainly we found an ATS capability in the past, so it should still be there now. Clean up these error paths. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Joerg Roedel <jroedel@suse.de>