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)
committerTejun Heo <tj@kernel.org>
Fri, 18 Jul 2014 21:52:33 +0000 (17:52 -0400)
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>
drivers/ata/ahci.h

index 05882e4445a6657ea4bc109aed40efeb8dc2e1f7..7137e1bbf04a27cf530619d16e565cc22ee887c0 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,