All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] pinctrl: Added IRQF_SHARED flag for amd-pinctrl driver
@ 2019-04-04 13:16 ` Singh, Sandeep
  0 siblings, 0 replies; 3+ messages in thread
From: Singh, Sandeep @ 2019-04-04 13:16 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, linux-kernel; +Cc: Singh, Sandeep

From: Sandeep Singh <sandeep.singh@amd.com>

Some of the AMD reference boards used single GPIO line for
multiple devices. So added IRQF_SHARED flag in amd pinctrl driver.


Signed-off-by: Sandeep Singh <Sandeep.Singh@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
cc: Nehal Shah <Nehal-bakulchandra.Shah@amd.com>
---
 drivers/pinctrl/pinctrl-amd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 2a7d638..d834c1e 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -930,8 +930,8 @@ static int amd_gpio_probe(struct platform_device *pdev)
 		goto out2;
 	}
 
-	ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler, 0,
-			       KBUILD_MODNAME, gpio_dev);
+	ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler,
+			       IRQF_SHARED, KBUILD_MODNAME, gpio_dev);
 	if (ret)
 		goto out2;
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH] pinctrl: Added IRQF_SHARED flag for amd-pinctrl driver
@ 2019-04-04 13:16 ` Singh, Sandeep
  0 siblings, 0 replies; 3+ messages in thread
From: Singh, Sandeep @ 2019-04-04 13:16 UTC (permalink / raw)
  To: linus.walleij, linux-gpio, linux-kernel
  Cc: Singh, Sandeep, Singh, Sandeep, S-k, Shyam-sundar, Shah,
	Nehal-bakulchandra

From: Sandeep Singh <sandeep.singh@amd.com>

Some of the AMD reference boards used single GPIO line for
multiple devices. So added IRQF_SHARED flag in amd pinctrl driver.


Signed-off-by: Sandeep Singh <Sandeep.Singh@amd.com>
Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
cc: Nehal Shah <Nehal-bakulchandra.Shah@amd.com>
---
 drivers/pinctrl/pinctrl-amd.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 2a7d638..d834c1e 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -930,8 +930,8 @@ static int amd_gpio_probe(struct platform_device *pdev)
 		goto out2;
 	}
 
-	ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler, 0,
-			       KBUILD_MODNAME, gpio_dev);
+	ret = devm_request_irq(&pdev->dev, irq_base, amd_gpio_irq_handler,
+			       IRQF_SHARED, KBUILD_MODNAME, gpio_dev);
 	if (ret)
 		goto out2;
 
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] pinctrl: Added IRQF_SHARED flag for amd-pinctrl driver
  2019-04-04 13:16 ` Singh, Sandeep
  (?)
@ 2019-04-08 12:46 ` Linus Walleij
  -1 siblings, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2019-04-08 12:46 UTC (permalink / raw)
  To: Singh, Sandeep
  Cc: linux-gpio, linux-kernel, S-k, Shyam-sundar, Shah, Nehal-bakulchandra

On Thu, Apr 4, 2019 at 3:16 PM Singh, Sandeep <Sandeep.Singh@amd.com> wrote:

> From: Sandeep Singh <sandeep.singh@amd.com>
>
> Some of the AMD reference boards used single GPIO line for
> multiple devices. So added IRQF_SHARED flag in amd pinctrl driver.
>
>
> Signed-off-by: Sandeep Singh <Sandeep.Singh@amd.com>
> Signed-off-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
> cc: Nehal Shah <Nehal-bakulchandra.Shah@amd.com>

OK makes perfect sense so patch applied.

The patch itself looked funny when I tried to apply it but
as it's just a oneliner I managed to fix it up.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-08 12:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 13:16 [PATCH] pinctrl: Added IRQF_SHARED flag for amd-pinctrl driver Singh, Sandeep
2019-04-04 13:16 ` Singh, Sandeep
2019-04-08 12:46 ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.