aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2019-10-02 16:43:18 +0200
committerLee Jones <lee.jones@linaro.org>2019-11-11 08:45:02 +0000
commit7f0e60c751dc7252276230c7f8def447ffc0af4e (patch)
treeb48ed8047a04867b839b8007d45ee40bf2ca8878 /include/linux/mfd
parentmfd: qcom-spmi-pmic: Add support for PM/PMI8950 (diff)
downloadlinux-dev-7f0e60c751dc7252276230c7f8def447ffc0af4e.tar.xz
linux-dev-7f0e60c751dc7252276230c7f8def447ffc0af4e.zip
mfd: max77620: Do not allocate IRQs upfront
regmap_add_irq_chip() will try to allocate all of the IRQ descriptors upfront if passed a non-zero irq_base parameter. However, the intention is to allocate IRQ descriptors on an as-needed basis if possible. Pass 0 instead of -1 to fix that use-case. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd')
-rw-r--r--include/linux/mfd/max77620.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/max77620.h b/include/linux/mfd/max77620.h
index 12ba157cb83f..f552ef5b1100 100644
--- a/include/linux/mfd/max77620.h
+++ b/include/linux/mfd/max77620.h
@@ -329,7 +329,6 @@ struct max77620_chip {
struct regmap *rmap;
int chip_irq;
- int irq_base;
/* chip id */
enum max77620_chip_id chip_id;