diff options
author | John Crispin <john@openwrt.org> | 2015-02-11 10:09:23 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-02-11 10:09:23 +0000 |
commit | 88ddb3746188037afd38d631f7a893587fa8bdf0 (patch) | |
tree | df4684db63441435126c4b6ff1fda4ce615e1ff0 /target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch | |
parent | ddcbef5766fa18f52e7a7d1928b25edc63e73937 (diff) | |
download | upstream-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.gz upstream-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.bz2 upstream-88ddb3746188037afd38d631f7a893587fa8bdf0.zip |
ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The
newest patch at the time was from June, so we can safely assume that
either the patches have been merged, or they have been rejected for
a good reason. If patches are seen missing, we'll cherry-pick them
on a per-needed basis.
This new kernel have been tested on AP148, which seems to works fine.
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 44386
Diffstat (limited to 'target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch')
-rw-r--r-- | target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch b/target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch deleted file mode 100644 index d0771ff27e..0000000000 --- a/target/linux/ipq806x/patches/0025-pinctrl-msm-drop-wake_irqs-bitmap.patch +++ /dev/null @@ -1,66 +0,0 @@ -From ef8eb0991f291df12c12477648235f955cc388b0 Mon Sep 17 00:00:00 2001 -From: Josh Cartwright <joshc@codeaurora.org> -Date: Wed, 5 Mar 2014 13:33:08 -0600 -Subject: [PATCH 025/182] pinctrl: msm: drop wake_irqs bitmap - -Currently, the wake_irqs bitmap is used to track whether there are any -gpio's which are configured as wake irqs, and uses this to determine -whether or not to call enable_irq_wake()/disable_irq_wake() on the -summary interrupt. - -However, the genirq core already handles this case, by maintaining a -'wake_count' per irq_desc, and only calling into the controlling -irq_chip when wake_count transitions 0 <-> 1. - -Drop this bitmap, and unconditionally call irq_set_irq_wake() on the -summary interrupt. - -Signed-off-by: Josh Cartwright <joshc@codeaurora.org> -Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> -Signed-off-by: Linus Walleij <linus.walleij@linaro.org> ---- - drivers/pinctrl/pinctrl-msm.c | 14 +------------- - 1 file changed, 1 insertion(+), 13 deletions(-) - ---- a/drivers/pinctrl/pinctrl-msm.c -+++ b/drivers/pinctrl/pinctrl-msm.c -@@ -50,7 +50,6 @@ - * @enabled_irqs: Bitmap of currently enabled irqs. - * @dual_edge_irqs: Bitmap of irqs that need sw emulated dual edge - * detection. -- * @wake_irqs: Bitmap of irqs with requested as wakeup source. - * @soc; Reference to soc_data of platform specific data. - * @regs: Base address for the TLMM register map. - */ -@@ -65,7 +64,6 @@ struct msm_pinctrl { - - DECLARE_BITMAP(dual_edge_irqs, MAX_NR_GPIO); - DECLARE_BITMAP(enabled_irqs, MAX_NR_GPIO); -- DECLARE_BITMAP(wake_irqs, MAX_NR_GPIO); - - const struct msm_pinctrl_soc_data *soc; - void __iomem *regs; -@@ -783,22 +781,12 @@ static int msm_gpio_irq_set_wake(struct - { - struct msm_pinctrl *pctrl; - unsigned long flags; -- unsigned ngpio; - - pctrl = irq_data_get_irq_chip_data(d); -- ngpio = pctrl->chip.ngpio; - - spin_lock_irqsave(&pctrl->lock, flags); - -- if (on) { -- if (bitmap_empty(pctrl->wake_irqs, ngpio)) -- enable_irq_wake(pctrl->irq); -- set_bit(d->hwirq, pctrl->wake_irqs); -- } else { -- clear_bit(d->hwirq, pctrl->wake_irqs); -- if (bitmap_empty(pctrl->wake_irqs, ngpio)) -- disable_irq_wake(pctrl->irq); -- } -+ irq_set_irq_wake(pctrl->irq, on); - - spin_unlock_irqrestore(&pctrl->lock, flags); - |