|
@@ -1348,7 +1348,7 @@ static ssize_t ahci_transmit_led_message(struct ata_port *ap, u32 state,
|
|
writel(message[1], mmio + hpriv->em_loc+4);
|
|
writel(message[1], mmio + hpriv->em_loc+4);
|
|
|
|
|
|
/* save off new led state for port/slot */
|
|
/* save off new led state for port/slot */
|
|
- emp->led_state = message[1];
|
|
|
|
|
|
+ emp->led_state = state;
|
|
|
|
|
|
/*
|
|
/*
|
|
* tell hardware to transmit the message
|
|
* tell hardware to transmit the message
|