]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ata: ahci_platform: Increase AHCI_MAX_CLKS to 4
authorMikko Perttunen <mperttunen@nvidia.com>
Wed, 16 Jul 2014 08:54:21 +0000 (11:54 +0300)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:17:28 +0000 (21:17 -0600)
The Tegra124 SATA controller requires 4 clocks. Increase this constant
to be able to use them all.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
(cherry picked from commit 0e38699387fd2fd433618bb67612f3aae676fbae)

drivers/ata/ahci.h

index 47bb83139be117315bbb5a86f7bcb004fea74793..3d26a3c1f5468474a2e2627d8dc40aee2dbce6b3 100644 (file)
@@ -53,7 +53,7 @@
 
 enum {
        AHCI_MAX_PORTS          = 32,
-       AHCI_MAX_CLKS           = 3,
+       AHCI_MAX_CLKS           = 4,
        AHCI_MAX_SG             = 168, /* hardware max is 64K */
        AHCI_DMA_BOUNDARY       = 0xffffffff,
        AHCI_MAX_CMDS           = 32,