ipq806x: refresh patches
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Dec 2014 19:31:40 +0000 (19:31 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 28 Dec 2014 19:31:40 +0000 (19:31 +0000)
This makes the patchs apply again.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 43792

target/linux/ipq806x/patches/0078-clk-qcom-Consolidate-common-probe-code.patch
target/linux/ipq806x/patches/0109-libahci-Allow-drivers-to-override-start_engine.patch
target/linux/ipq806x/patches/0124-ata-move-library-code-from-ahci_platform.c-to-libahc.patch
target/linux/ipq806x/patches/0126-clk-Add-safe-switch-hook.patch
target/linux/ipq806x/patches/0128-clk-qcom-Add-support-for-banked-MD-RCGs.patch
target/linux/ipq806x/patches/0142-ata-Add-Qualcomm-ARM-SoC-AHCI-SATA-host-controller-d.patch
target/linux/ipq806x/patches/0163-clk-return-probe-defer-when-DT-clock-not-yet-ready.patch

index dc0408c1662f48ad0e5ffd7392757641248fdf79..25b6ac2a38a742d8fc03920426c5ccb1e771e074 100644 (file)
@@ -522,7 +522,7 @@ Signed-off-by: Kumar Gala <galak@codeaurora.org>
  #include "clk-regmap.h"
  #include "clk-pll.h"
  #include "clk-rcg.h"
-@@ -2222,85 +2223,28 @@ static const struct regmap_config mmcc_m
+@@ -2224,85 +2225,28 @@ static const struct regmap_config mmcc_m
        .fast_io        = true,
  };
  
index b727e2693e2d0f248e13b3a254a6752b1499e4a3..aa2fee6ed3eb5d0f55a67dc591f8b09ed1758cb3 100644 (file)
@@ -23,7 +23,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
 
 --- a/drivers/ata/ahci.c
 +++ b/drivers/ata/ahci.c
-@@ -583,6 +583,7 @@ static int ahci_vt8251_hardreset(struct
+@@ -606,6 +606,7 @@ static int ahci_vt8251_hardreset(struct
                                 unsigned long deadline)
  {
        struct ata_port *ap = link->ap;
@@ -31,7 +31,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
        bool online;
        int rc;
  
-@@ -593,7 +594,7 @@ static int ahci_vt8251_hardreset(struct
+@@ -616,7 +617,7 @@ static int ahci_vt8251_hardreset(struct
        rc = sata_link_hardreset(link, sata_ehc_deb_timing(&link->eh_context),
                                 deadline, &online, NULL);
  
@@ -40,7 +40,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
  
        DPRINTK("EXIT, rc=%d, class=%u\n", rc, *class);
  
-@@ -608,6 +609,7 @@ static int ahci_p5wdh_hardreset(struct a
+@@ -631,6 +632,7 @@ static int ahci_p5wdh_hardreset(struct a
  {
        struct ata_port *ap = link->ap;
        struct ahci_port_priv *pp = ap->private_data;
@@ -48,7 +48,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
        u8 *d2h_fis = pp->rx_fis + RX_FIS_D2H_REG;
        struct ata_taskfile tf;
        bool online;
-@@ -623,7 +625,7 @@ static int ahci_p5wdh_hardreset(struct a
+@@ -646,7 +648,7 @@ static int ahci_p5wdh_hardreset(struct a
        rc = sata_link_hardreset(link, sata_ehc_deb_timing(&link->eh_context),
                                 deadline, &online, NULL);
  
index d35b1dc9507638835dd2da0fb06883647ef15e78..eca606b1504c7deac2f56c73d17d30e7a776c593 100644 (file)
@@ -25,7 +25,7 @@ Conflicts:
 
 --- a/drivers/ata/Kconfig
 +++ b/drivers/ata/Kconfig
-@@ -99,7 +99,7 @@ config SATA_AHCI_PLATFORM
+@@ -115,7 +115,7 @@ config SATA_AHCI_PLATFORM
  
  config AHCI_IMX
        tristate "Freescale i.MX AHCI SATA support"
index 4ee93501806a5ea48ba03fd415228a456f4ad5c5..a78319ff524dffc0ee45761703c953119bdc6a15 100644 (file)
@@ -93,7 +93,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
                        fail_clk = clk;
        }
  
-@@ -1499,7 +1539,8 @@ static void clk_change_rate(struct clk *
+@@ -1500,7 +1540,8 @@ static void clk_change_rate(struct clk *
        else if (clk->parent)
                best_parent_rate = clk->parent->rate;
  
@@ -103,17 +103,17 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
                old_parent = __clk_set_parent_before(clk, clk->new_parent);
  
                if (clk->ops->set_rate_and_parent) {
-@@ -1522,9 +1563,6 @@ static void clk_change_rate(struct clk *
+@@ -1523,9 +1564,6 @@ static void clk_change_rate(struct clk *
        else
                clk->rate = best_parent_rate;
  
 -      if (clk->notifier_count && old_rate != clk->rate)
 -              __clk_notify(clk, POST_RATE_CHANGE, old_rate, clk->rate);
 -
-       hlist_for_each_entry(child, &clk->children, child_node) {
-               /* Skip children who will be reparented to another clock */
-               if (child->new_parent && child->new_parent != clk)
-@@ -1598,6 +1636,7 @@ int clk_set_rate(struct clk *clk, unsign
+       /*
+        * Use safe iteration, as change_rate can actually swap parents
+        * for certain clock types.
+@@ -1603,6 +1641,7 @@ int clk_set_rate(struct clk *clk, unsign
        /* change the rates */
        clk_change_rate(top);
  
index b55d709381db9caa068b3d7de04ff6eac4ecb592..38104b95d05095fe193bb51d4500319a160bb13e 100644 (file)
@@ -230,7 +230,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
  
 --- a/drivers/clk/qcom/mmcc-msm8960.c
 +++ b/drivers/clk/qcom/mmcc-msm8960.c
-@@ -726,9 +726,11 @@ static struct freq_tbl clk_tbl_gfx2d[] =
+@@ -728,9 +728,11 @@ static struct freq_tbl clk_tbl_gfx2d[] =
  };
  
  static struct clk_dyn_rcg gfx2d0_src = {
@@ -243,7 +243,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
        .mn[0] = {
                .mnctr_en_bit = 8,
                .mnctr_reset_bit = 25,
-@@ -784,9 +786,11 @@ static struct clk_branch gfx2d0_clk = {
+@@ -786,9 +788,11 @@ static struct clk_branch gfx2d0_clk = {
  };
  
  static struct clk_dyn_rcg gfx2d1_src = {
@@ -256,7 +256,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
        .mn[0] = {
                .mnctr_en_bit = 8,
                .mnctr_reset_bit = 25,
-@@ -862,9 +866,11 @@ static struct freq_tbl clk_tbl_gfx3d[] =
+@@ -864,9 +868,11 @@ static struct freq_tbl clk_tbl_gfx3d[] =
  };
  
  static struct clk_dyn_rcg gfx3d_src = {
@@ -269,7 +269,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
        .mn[0] = {
                .mnctr_en_bit = 8,
                .mnctr_reset_bit = 25,
-@@ -1051,9 +1057,11 @@ static struct freq_tbl clk_tbl_mdp[] = {
+@@ -1053,9 +1059,11 @@ static struct freq_tbl clk_tbl_mdp[] = {
  };
  
  static struct clk_dyn_rcg mdp_src = {
@@ -282,7 +282,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
        .mn[0] = {
                .mnctr_en_bit = 8,
                .mnctr_reset_bit = 31,
-@@ -1158,7 +1166,9 @@ static struct freq_tbl clk_tbl_rot[] = {
+@@ -1160,7 +1168,9 @@ static struct freq_tbl clk_tbl_rot[] = {
  };
  
  static struct clk_dyn_rcg rot_src = {
@@ -293,7 +293,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
        .p[0] = {
                .pre_div_shift = 22,
                .pre_div_width = 4,
-@@ -1355,9 +1365,11 @@ static struct freq_tbl clk_tbl_vcodec[]
+@@ -1357,9 +1367,11 @@ static struct freq_tbl clk_tbl_vcodec[]
  };
  
  static struct clk_dyn_rcg vcodec_src = {
index aaedbb374b6fc6147692ae6c135e77f9958943be..5db5d9d69b4237943cddffa9f8da3e6ecd47e0a5 100644 (file)
@@ -18,7 +18,7 @@ Signed-off-by: Kumar Gala <galak@codeaurora.org>
 
 --- a/drivers/ata/Kconfig
 +++ b/drivers/ata/Kconfig
-@@ -106,6 +106,16 @@ config AHCI_IMX
+@@ -122,6 +122,16 @@ config AHCI_IMX
  
          If unsure, say N.
  
index cde3d2a8ddfc823f52bf079bf8ed7507e8b4252a..76956d5b9bcd79e66a093259f86eab9f72570e60 100644 (file)
@@ -20,7 +20,7 @@ Signed-off-by: Mike Turquette <mturquette@linaro.org>
 
 --- a/drivers/clk/clk.c
 +++ b/drivers/clk/clk.c
-@@ -2502,7 +2502,7 @@ EXPORT_SYMBOL_GPL(of_clk_del_provider);
+@@ -2507,7 +2507,7 @@ EXPORT_SYMBOL_GPL(of_clk_del_provider);
  struct clk *__of_clk_get_from_provider(struct of_phandle_args *clkspec)
  {
        struct of_clk_provider *provider;