Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73187
b: refs/heads/master
c: 0039541
h: refs/heads/master
i:
  73185: 3731fe4
  73183: c5d534e
v: v3
  • Loading branch information
Adrian Bunk authored and Greg Kroah-Hartman committed Nov 5, 2007
1 parent 51a0a22 commit 9332759
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d73460d79bc88de74221d73723ed61a0081b7a36
refs/heads/master: 00395410885cac96015850426bf697423a3ec9dc
16 changes: 7 additions & 9 deletions trunk/drivers/pci/hotplug/cpqphp_ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -1931,16 +1931,14 @@ void cpqhp_pushbutton_thread(unsigned long slot)
return ;
}

if (func != NULL && ctrl != NULL) {
if (cpqhp_process_SS(ctrl, func) != 0) {
amber_LED_on (ctrl, hp_slot);
green_LED_on (ctrl, hp_slot);

set_SOGO(ctrl);
if (cpqhp_process_SS(ctrl, func) != 0) {
amber_LED_on(ctrl, hp_slot);
green_LED_on(ctrl, hp_slot);

/* Wait for SOBS to be unset */
wait_for_ctrl_irq (ctrl);
}
set_SOGO(ctrl);

/* Wait for SOBS to be unset */
wait_for_ctrl_irq(ctrl);
}

p_slot->state = STATIC_STATE;
Expand Down

0 comments on commit 9332759

Please sign in to comment.