|
@@ -31,6 +31,8 @@
|
|
|
#include <linux/err.h>
|
|
|
#include <linux/soc/samsung/exynos-pmu.h>
|
|
|
|
|
|
+#include <dt-bindings/pinctrl/samsung.h>
|
|
|
+
|
|
|
#include "pinctrl-samsung.h"
|
|
|
#include "pinctrl-exynos.h"
|
|
|
|
|
@@ -176,7 +178,7 @@ static int exynos_irq_request_resources(struct irq_data *irqd)
|
|
|
|
|
|
con = readl(bank->pctl_base + reg_con);
|
|
|
con &= ~(mask << shift);
|
|
|
- con |= EXYNOS_EINT_FUNC << shift;
|
|
|
+ con |= EXYNOS_PIN_FUNC_EINT << shift;
|
|
|
writel(con, bank->pctl_base + reg_con);
|
|
|
|
|
|
spin_unlock_irqrestore(&bank->slock, flags);
|
|
@@ -204,7 +206,7 @@ static void exynos_irq_release_resources(struct irq_data *irqd)
|
|
|
|
|
|
con = readl(bank->pctl_base + reg_con);
|
|
|
con &= ~(mask << shift);
|
|
|
- con |= FUNC_INPUT << shift;
|
|
|
+ con |= EXYNOS_PIN_FUNC_INPUT << shift;
|
|
|
writel(con, bank->pctl_base + reg_con);
|
|
|
|
|
|
spin_unlock_irqrestore(&bank->slock, flags);
|