Message ID | 20150205084232.12859.29907.stgit@localhost.localdomain |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/hw/fsp/fsp-leds.c b/hw/fsp/fsp-leds.c index ecdc3a9..814459e 100644 --- a/hw/fsp/fsp-leds.c +++ b/hw/fsp/fsp-leds.c @@ -432,6 +432,8 @@ static int fsp_msg_set_led_state(struct led_set_cmd *spcn_cmd) if (rc != OPAL_SUCCESS) { fsp_freemsg(msg); free_spcn_cmd(spcn_cmd); + /* Revert LED state update */ + update_led_list(spcn_cmd->loc_code, spcn_cmd->ckpt_status); } unlock(&led_lock);