projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
PCI: pciehp: Clear attention LED on device add
author
Keith Busch
<
[email protected]
>
Wed, 3 Aug 2016 23:29:45 +0000
(17:29 -0600)
committer
Bjorn Helgaas
<
[email protected]
>
Mon, 22 Aug 2016 16:57:41 +0000
(11:57 -0500)
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 <
[email protected]
>
Signed-off-by: Bjorn Helgaas <
[email protected]
>
drivers/pci/hotplug/pciehp_ctrl.c
patch
|
blob
|
history
diff --git
a/drivers/pci/hotplug/pciehp_ctrl.c
b/drivers/pci/hotplug/pciehp_ctrl.c
index 880978b6d534cf2f03417b483c8acfde359ea9c6..7ea3e61ea745c3bae44efbd6ceb34f6863427520 100644
(file)
--- a/
drivers/pci/hotplug/pciehp_ctrl.c
+++ b/
drivers/pci/hotplug/pciehp_ctrl.c
@@
-120,6
+120,7
@@
static int board_added(struct slot *p_slot)
}
pciehp_green_led_on(p_slot);
+ pciehp_set_attention_status(p_slot, 0);
return 0;
err_exit: