ipq806x: refresh patches
This makes the patchs apply again. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 43792
This commit is contained in:
parent
c9e5aa0c17
commit
f22aeccdd2
7 changed files with 20 additions and 20 deletions
|
@ -522,7 +522,7 @@ Signed-off-by: Kumar Gala <galak@codeaurora.org>
|
||||||
#include "clk-regmap.h"
|
#include "clk-regmap.h"
|
||||||
#include "clk-pll.h"
|
#include "clk-pll.h"
|
||||||
#include "clk-rcg.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,
|
.fast_io = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
|
||||||
|
|
||||||
--- a/drivers/ata/ahci.c
|
--- a/drivers/ata/ahci.c
|
||||||
+++ b/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)
|
unsigned long deadline)
|
||||||
{
|
{
|
||||||
struct ata_port *ap = link->ap;
|
struct ata_port *ap = link->ap;
|
||||||
|
@ -31,7 +31,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
|
||||||
bool online;
|
bool online;
|
||||||
int rc;
|
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),
|
rc = sata_link_hardreset(link, sata_ehc_deb_timing(&link->eh_context),
|
||||||
deadline, &online, NULL);
|
deadline, &online, NULL);
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ Signed-off-by: Tejun Heo <tj@kernel.org>
|
||||||
|
|
||||||
DPRINTK("EXIT, rc=%d, class=%u\n", rc, *class);
|
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 ata_port *ap = link->ap;
|
||||||
struct ahci_port_priv *pp = ap->private_data;
|
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;
|
u8 *d2h_fis = pp->rx_fis + RX_FIS_D2H_REG;
|
||||||
struct ata_taskfile tf;
|
struct ata_taskfile tf;
|
||||||
bool online;
|
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),
|
rc = sata_link_hardreset(link, sata_ehc_deb_timing(&link->eh_context),
|
||||||
deadline, &online, NULL);
|
deadline, &online, NULL);
|
||||||
|
|
||||||
|
|
|
@ -25,7 +25,7 @@ Conflicts:
|
||||||
|
|
||||||
--- a/drivers/ata/Kconfig
|
--- a/drivers/ata/Kconfig
|
||||||
+++ b/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
|
config AHCI_IMX
|
||||||
tristate "Freescale i.MX AHCI SATA support"
|
tristate "Freescale i.MX AHCI SATA support"
|
||||||
|
|
|
@ -93,7 +93,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
fail_clk = clk;
|
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)
|
else if (clk->parent)
|
||||||
best_parent_rate = clk->parent->rate;
|
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);
|
old_parent = __clk_set_parent_before(clk, clk->new_parent);
|
||||||
|
|
||||||
if (clk->ops->set_rate_and_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
|
else
|
||||||
clk->rate = best_parent_rate;
|
clk->rate = best_parent_rate;
|
||||||
|
|
||||||
- if (clk->notifier_count && old_rate != clk->rate)
|
- if (clk->notifier_count && old_rate != clk->rate)
|
||||||
- __clk_notify(clk, POST_RATE_CHANGE, 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 */
|
* Use safe iteration, as change_rate can actually swap parents
|
||||||
if (child->new_parent && child->new_parent != clk)
|
* for certain clock types.
|
||||||
@@ -1598,6 +1636,7 @@ int clk_set_rate(struct clk *clk, unsign
|
@@ -1603,6 +1641,7 @@ int clk_set_rate(struct clk *clk, unsign
|
||||||
/* change the rates */
|
/* change the rates */
|
||||||
clk_change_rate(top);
|
clk_change_rate(top);
|
||||||
|
|
||||||
|
|
|
@ -230,7 +230,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
|
|
||||||
--- a/drivers/clk/qcom/mmcc-msm8960.c
|
--- a/drivers/clk/qcom/mmcc-msm8960.c
|
||||||
+++ b/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 = {
|
static struct clk_dyn_rcg gfx2d0_src = {
|
||||||
|
@ -243,7 +243,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
.mn[0] = {
|
.mn[0] = {
|
||||||
.mnctr_en_bit = 8,
|
.mnctr_en_bit = 8,
|
||||||
.mnctr_reset_bit = 25,
|
.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 = {
|
static struct clk_dyn_rcg gfx2d1_src = {
|
||||||
|
@ -256,7 +256,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
.mn[0] = {
|
.mn[0] = {
|
||||||
.mnctr_en_bit = 8,
|
.mnctr_en_bit = 8,
|
||||||
.mnctr_reset_bit = 25,
|
.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 = {
|
static struct clk_dyn_rcg gfx3d_src = {
|
||||||
|
@ -269,7 +269,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
.mn[0] = {
|
.mn[0] = {
|
||||||
.mnctr_en_bit = 8,
|
.mnctr_en_bit = 8,
|
||||||
.mnctr_reset_bit = 25,
|
.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 = {
|
static struct clk_dyn_rcg mdp_src = {
|
||||||
|
@ -282,7 +282,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
.mn[0] = {
|
.mn[0] = {
|
||||||
.mnctr_en_bit = 8,
|
.mnctr_en_bit = 8,
|
||||||
.mnctr_reset_bit = 31,
|
.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 = {
|
static struct clk_dyn_rcg rot_src = {
|
||||||
|
@ -293,7 +293,7 @@ Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
|
||||||
.p[0] = {
|
.p[0] = {
|
||||||
.pre_div_shift = 22,
|
.pre_div_shift = 22,
|
||||||
.pre_div_width = 4,
|
.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 = {
|
static struct clk_dyn_rcg vcodec_src = {
|
||||||
|
|
|
@ -18,7 +18,7 @@ Signed-off-by: Kumar Gala <galak@codeaurora.org>
|
||||||
|
|
||||||
--- a/drivers/ata/Kconfig
|
--- a/drivers/ata/Kconfig
|
||||||
+++ b/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.
|
If unsure, say N.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ Signed-off-by: Mike Turquette <mturquette@linaro.org>
|
||||||
|
|
||||||
--- a/drivers/clk/clk.c
|
--- a/drivers/clk/clk.c
|
||||||
+++ b/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 clk *__of_clk_get_from_provider(struct of_phandle_args *clkspec)
|
||||||
{
|
{
|
||||||
struct of_clk_provider *provider;
|
struct of_clk_provider *provider;
|
||||||
|
|
Loading…
Reference in a new issue