summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2014-07-16 10:54:21 +0200
committerTejun Heo <tj@kernel.org>2014-07-18 23:52:33 +0200
commit0e38699387fd2fd433618bb67612f3aae676fbae (patch)
tree1cfab8e09b4535e031ddb970a77470c6a6e28a9f /drivers/ata
parentof: Add NVIDIA Tegra SATA controller binding (diff)
downloadlinux-0e38699387fd2fd433618bb67612f3aae676fbae.tar.xz
linux-0e38699387fd2fd433618bb67612f3aae676fbae.zip
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 <mperttunen@nvidia.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/ahci.h2
1 files changed, 1 insertions, 1 deletions
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,