]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/ata/ahci.c
Merge branch 'core/percpu' into percpu-cpumask-x86-for-linus-2
[mv-sheeva.git] / drivers / ata / ahci.c
index ec2922ad2dc03dfd878a9022b316d174021a61c5..788bba2b1e1798fc8b60336f701e06348c0396c8 100644 (file)
@@ -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);
 
        /* save off new led state for port/slot */
-       emp->led_state = message[1];
+       emp->led_state = state;
 
        /*
         * tell hardware to transmit the message