summarylogtreecommitdiffstats
path: root/0002-pinctrl-amd.patch
diff options
context:
space:
mode:
authorAndrey Alekseev2020-10-19 18:51:25 +0400
committerAndrey Alekseev2020-10-19 18:51:25 +0400
commit2b8a05cfa18394cd0bc9949beb012d78081026e6 (patch)
tree196a20aa63853c4b952e4931e4d3252b78cbcb01 /0002-pinctrl-amd.patch
parent1fda9faf92af300bae33881cc664cb2841d1b201 (diff)
downloadaur-2b8a05cfa18394cd0bc9949beb012d78081026e6.tar.gz
some fixes
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 5554afa2379..00000000000
--- 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);
-