ipq806x: Add support for IPQ806x chip family
[15.05/openwrt.git] / target / linux / ipq806x / patches / 0141-ahci-platform-Bump-max-number-of-clocks-to-5.patch
1 From fd475809eefc0870515d0b04815e2bbae67be906 Mon Sep 17 00:00:00 2001
2 From: Kumar Gala <galak@codeaurora.org>
3 Date: Fri, 6 Jun 2014 12:09:01 -0500
4 Subject: [PATCH 141/182] ahci-platform: Bump max number of clocks to 5
5
6 Qualcomm IPQ806x SoCs with SATA controllers need 5 clocks to be enabled.
7
8 Signed-off-by: Kumar Gala <galak@codeaurora.org>
9 ---
10  drivers/ata/ahci.h |    2 +-
11  1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h
14 index 51af275..6357e34 100644
15 --- a/drivers/ata/ahci.h
16 +++ b/drivers/ata/ahci.h
17 @@ -53,7 +53,7 @@
18  
19  enum {
20         AHCI_MAX_PORTS          = 32,
21 -       AHCI_MAX_CLKS           = 3,
22 +       AHCI_MAX_CLKS           = 5,
23         AHCI_MAX_SG             = 168, /* hardware max is 64K */
24         AHCI_DMA_BOUNDARY       = 0xffffffff,
25         AHCI_MAX_CMDS           = 32,
26 -- 
27 1.7.10.4
28