]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: pciehp: Clear attention LED on device add
authorKeith Busch <keith.busch@intel.com>
Wed, 3 Aug 2016 23:29:45 +0000 (17:29 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 22 Aug 2016 16:57:41 +0000 (11:57 -0500)
commit9840bb3a5432401a29cb92fa18a1a3942fb25256
tree1c8a56c412c79043a5d254fdbf387f0bdb066200
parent1372dac0367f9e37512ea4720cf3886bcb42562d
PCI: pciehp: Clear attention LED on device add

Clear the LED attention status after a successful device add.  It is
possible the attention LED was on from a previous power fault or link
failure, and a subsequent successful device insert insertion should clear
it.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/pciehp_ctrl.c