]> git.baikalelectronics.ru Git - kernel.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)
commit5f35cd283476c249164f2b5d363301998de6d047
treee638a1684bce7401e5451eb720a2b052c014d312
parent296fd5e472b67e5ca80fbba3cd8cafc9435a1e3d
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