]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ahci-imx: Port to library-ised ahci_platform
authorHans de Goede <hdegoede@redhat.com>
Sat, 22 Feb 2014 15:53:37 +0000 (16:53 +0100)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:18 +0000 (21:17 -0600)
commit561dd9879d12ffb5a97a1fff01976e154e0db672
treea1ea30041fb875e70562d8d5e0ef391af0ea7632
parent199990b5c5d294c92a99fa395635cd5a850069fc
ahci-imx: Port to library-ised ahci_platform

This avoids the ugliness of creating a nested platform device from probe.

While moving it around anyways, move the mk6q phy init code from probe
to imx_sata_enable, as the phy needs to be re-initialized on resume too,
otherwise the drive won't be recognized after resume.

Tested on a wandboard i.mx6 quad.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit 90870d79d4f28711610dd2e72d8fa616c922d110)
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/ahci_imx.c