]> git.karo-electronics.de Git - linux-beck.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)
committerTejun Heo <tj@kernel.org>
Sat, 22 Feb 2014 20:35:42 +0000 (15:35 -0500)
commit90870d79d4f28711610dd2e72d8fa616c922d110
treee638a1684bce7401e5451eb720a2b052c014d312
parentc5754b5220f01e8722799d35c04a76e82c62d7d8
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>
Documentation/devicetree/bindings/ata/ahci-platform.txt
drivers/ata/ahci_imx.c