kernel: update linux 3.8 to 3.8.2
[openwrt.git] / target / linux / mvebu / patches-3.8 / 029-clk_mvebu_create_parent_child_relation.patch
1 The Armada 370 has two gatable clocks for each PCIe interface, and we
2 want both of them to be enabled. We therefore make one of the two
3 clocks a child of the other, as we did for the sataX and sataXlnk
4 clocks on Armada XP.
5
6 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
7 Cc: Mike Turquette <mturquette@linaro.org>
8 ---
9  drivers/clk/mvebu/clk-gating-ctrl.c |    4 ++--
10  1 file changed, 2 insertions(+), 2 deletions(-)
11
12 --- a/drivers/clk/mvebu/clk-gating-ctrl.c
13 +++ b/drivers/clk/mvebu/clk-gating-ctrl.c
14 @@ -119,8 +119,8 @@ static const struct mvebu_soc_descr __in
15         { "pex1_en", NULL,  2 },
16         { "ge1", NULL, 3 },
17         { "ge0", NULL, 4 },
18 -       { "pex0", NULL, 5 },
19 -       { "pex1", NULL, 9 },
20 +       { "pex0", "pex0_en", 5 },
21 +       { "pex1", "pex1_en", 9 },
22         { "sata0", NULL, 15 },
23         { "sdio", NULL, 17 },
24         { "tdm", NULL, 25 },