From: Mikko Perttunen Date: Wed, 16 Jul 2014 08:54:21 +0000 (+0300) Subject: ata: ahci_platform: Increase AHCI_MAX_CLKS to 4 X-Git-Tag: firefly_0821_release~176^2~3514^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0e38699387fd2fd433618bb67612f3aae676fbae;p=firefly-linux-kernel-4.4.55.git ata: ahci_platform: Increase AHCI_MAX_CLKS to 4 The Tegra124 SATA controller requires 4 clocks. Increase this constant to be able to use them all. Signed-off-by: Mikko Perttunen Acked-by: Hans de Goede Signed-off-by: Tejun Heo --- diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 05882e4445a6..7137e1bbf04a 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -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,