Skip to content

Commit

Permalink
ahci_platform: properly set up EM messaging
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
  • Loading branch information
Jeff Garzik authored and Jeff Garzik committed May 14, 2010
1 parent c062316 commit 5578718
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ata/ahci_platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ static int __init ahci_probe(struct platform_device *pdev)

/* set enclosure management message type */
if (ap->flags & ATA_FLAG_EM)
ap->em_message_type = ahci_em_messages;
ap->em_message_type = hpriv->em_msg_type;

/* disabled/not-implemented port */
if (!(hpriv->port_map & (1 << i)))
Expand Down

0 comments on commit 5578718

Please sign in to comment.