ata: ahci_imx: warn when disabling ahci link
authorRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 23 Jun 2014 11:59:08 +0000 (12:59 +0100)
committerTejun Heo <tj@kernel.org>
Tue, 24 Jun 2014 21:58:14 +0000 (17:58 -0400)
commitf118ae5901172dacc4f272acf5eccfba06e8d221
tree69be5dd83c28b3151641bf76e8fcc6f99202abb6
parent72cbaa3d2f563d7b48c9f8aef47ec9aa3a31adf2
ata: ahci_imx: warn when disabling ahci link

When the AHCI link is disabled, it can't be re-enabled except by
resetting the entire SoC.  Rather than doing this silently print
some kernel messages to inform the user, along with how to avoid
this.

tj: Put a long printf format string on a single line.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_imx.c