summarylogtreecommitdiffstats
path: root/0002-pinctrl-amd.patch
diff options
context:
space:
mode:
Diffstat (limited to '0002-pinctrl-amd.patch')
-rw-r--r--0002-pinctrl-amd.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/0002-pinctrl-amd.patch b/0002-pinctrl-amd.patch
deleted file mode 100644
index 5554afa23792..000000000000
--- a/0002-pinctrl-amd.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
-index 1fe62a35bb12..c34e6a950b3f 100644
---- a/drivers/pinctrl/pinctrl-amd.c
-+++ b/drivers/pinctrl/pinctrl-amd.c
-@@ -417,22 +417,13 @@ static int amd_gpio_irq_set_type(struct irq_data *d, unsigned int type)
- {
- int ret = 0;
- u32 pin_reg, pin_reg_irq_en, mask;
-- unsigned long flags, irq_flags;
-+ unsigned long flags;
- struct gpio_chip *gc = irq_data_get_irq_chip_data(d);
- struct amd_gpio *gpio_dev = gpiochip_get_data(gc);
-
- raw_spin_lock_irqsave(&gpio_dev->lock, flags);
- pin_reg = readl(gpio_dev->base + (d->hwirq)*4);
-
-- /* Ignore the settings coming from the client and
-- * read the values from the ACPI tables
-- * while setting the trigger type
-- */
--
-- irq_flags = irq_get_trigger_type(d->irq);
-- if (irq_flags != IRQ_TYPE_NONE)
-- type = irq_flags;
--
- switch (type & IRQ_TYPE_SENSE_MASK) {
- case IRQ_TYPE_EDGE_RISING:
- pin_reg &= ~BIT(LEVEL_TRIG_OFF);
-