All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
@ 2014-01-14 11:58 Wolfram Sang
       [not found] ` <1389700739-3696-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
                   ` (6 more replies)
  0 siblings, 7 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Wolfram Sang, Ralf Baechle, linux-mips

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Acked-by: John Crispin <blogic@openwrt.org>
---

Should go via subsystem tree

 arch/mips/lantiq/xway/dma.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
index 08f7ebd..78a91fa 100644
--- a/arch/mips/lantiq/xway/dma.c
+++ b/arch/mips/lantiq/xway/dma.c
@@ -220,10 +220,6 @@ ltq_dma_init(struct platform_device *pdev)
 	int i;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res)
-		panic("Failed to get dma resource");
-
-	/* remap dma register range */
 	ltq_dma_membase = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(ltq_dma_membase))
 		panic("Failed to remap dma resource");
-- 
1.8.5.1


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

* [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
@ 2014-01-14 11:58     ` Wolfram Sang
  2014-01-14 11:58 ` [PATCH 3/7] drivers/gpu/host1x/drm: " Wolfram Sang
                       ` (5 subsequent siblings)
  6 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Wolfram Sang, Russell King, Stephen Warren, Thierry Reding,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
---

Should go via subsystem tree

 drivers/amba/tegra-ahb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c
index 1f44e56c..558a239 100644
--- a/drivers/amba/tegra-ahb.c
+++ b/drivers/amba/tegra-ahb.c
@@ -256,8 +256,6 @@ static int tegra_ahb_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res)
-		return -ENODEV;
 	ahb->regs = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(ahb->regs))
 		return PTR_ERR(ahb->regs);
-- 
1.8.5.1

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

* [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
@ 2014-01-14 11:58     ` Wolfram Sang
  0 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Russell King, Stephen Warren, Thierry Reding, linux-tegra

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 drivers/amba/tegra-ahb.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/amba/tegra-ahb.c b/drivers/amba/tegra-ahb.c
index 1f44e56c..558a239 100644
--- a/drivers/amba/tegra-ahb.c
+++ b/drivers/amba/tegra-ahb.c
@@ -256,8 +256,6 @@ static int tegra_ahb_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res)
-		return -ENODEV;
 	ahb->regs = devm_ioremap_resource(&pdev->dev, res);
 	if (IS_ERR(ahb->regs))
 		return PTR_ERR(ahb->regs);
-- 
1.8.5.1


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

* [PATCH 3/7] drivers/gpu/host1x/drm: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
       [not found] ` <1389700739-3696-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
@ 2014-01-14 11:58 ` Wolfram Sang
       [not found]   ` <1389700739-3696-3-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
  2014-01-14 11:58   ` Wolfram Sang
                   ` (4 subsequent siblings)
  6 siblings, 1 reply; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Thierry Reding, Terje Bergström, David Airlie,
	Stephen Warren, dri-devel, linux-tegra

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
---

Should go via subsystem tree

 drivers/gpu/drm/tegra/hdmi.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/tegra/hdmi.c b/drivers/gpu/drm/tegra/hdmi.c
index 0cd9bc2..1650fb3 100644
--- a/drivers/gpu/drm/tegra/hdmi.c
+++ b/drivers/gpu/drm/tegra/hdmi.c
@@ -1375,9 +1375,6 @@ static int tegra_hdmi_probe(struct platform_device *pdev)
 		return err;
 
 	regs = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!regs)
-		return -ENXIO;
-
 	hdmi->regs = devm_ioremap_resource(&pdev->dev, regs);
 	if (IS_ERR(hdmi->regs))
 		return PTR_ERR(hdmi->regs);
-- 
1.8.5.1

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

* [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
@ 2014-01-14 11:58   ` Wolfram Sang
  2014-01-14 11:58 ` [PATCH 3/7] drivers/gpu/host1x/drm: " Wolfram Sang
                     ` (5 subsequent siblings)
  6 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Richard Zhu, Shawn Guo, Bjorn Helgaas, linux-pci,
	linux-arm-kernel

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 drivers/pci/host/pci-imx6.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index bd70af8..5002e23 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
 		"imprecise external abort");
 
 	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!dbi_base) {
-		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
-		return -ENODEV;
-	}
-
 	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
 	if (IS_ERR(pp->dbi_base)) {
 		ret = PTR_ERR(pp->dbi_base);
-- 
1.8.5.1


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

* [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
@ 2014-01-14 11:58   ` Wolfram Sang
  0 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-arm-kernel

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 drivers/pci/host/pci-imx6.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
index bd70af8..5002e23 100644
--- a/drivers/pci/host/pci-imx6.c
+++ b/drivers/pci/host/pci-imx6.c
@@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct platform_device *pdev)
 		"imprecise external abort");
 
 	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!dbi_base) {
-		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
-		return -ENODEV;
-	}
-
 	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
 	if (IS_ERR(pp->dbi_base)) {
 		ret = PTR_ERR(pp->dbi_base);
-- 
1.8.5.1

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

* [PATCH 5/7] drivers/usb/dwc3: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
                   ` (2 preceding siblings ...)
  2014-01-14 11:58   ` Wolfram Sang
@ 2014-01-14 11:58 ` Wolfram Sang
  2014-01-14 14:15     ` Felipe Balbi
  2014-01-14 11:58 ` [PATCH 6/7] arch/mips/pci: " Wolfram Sang
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: Wolfram Sang, Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-omap

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 drivers/usb/dwc3/dwc3-omap.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c
index 7f7ea62..cbcd972 100644
--- a/drivers/usb/dwc3/dwc3-omap.c
+++ b/drivers/usb/dwc3/dwc3-omap.c
@@ -432,11 +432,6 @@ static int dwc3_omap_probe(struct platform_device *pdev)
 	}
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res) {
-		dev_err(dev, "missing memory base resource\n");
-		return -EINVAL;
-	}
-
 	base = devm_ioremap_resource(dev, res);
 	if (IS_ERR(base))
 		return PTR_ERR(base);
-- 
1.8.5.1


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

* [PATCH 6/7] arch/mips/pci: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
                   ` (3 preceding siblings ...)
  2014-01-14 11:58 ` [PATCH 5/7] drivers/usb/dwc3: " Wolfram Sang
@ 2014-01-14 11:58 ` Wolfram Sang
  2014-01-14 11:58 ` [PATCH 7/7] drivers/gpio: " Wolfram Sang
  2014-01-14 12:03 ` [PATCH 1/7] arch/mips/lantiq/xway: " John Crispin
  6 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Wolfram Sang, Ralf Baechle, linux-mips

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 arch/mips/pci/pci-rt3883.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/arch/mips/pci/pci-rt3883.c b/arch/mips/pci/pci-rt3883.c
index adeff2b..72919ae 100644
--- a/arch/mips/pci/pci-rt3883.c
+++ b/arch/mips/pci/pci-rt3883.c
@@ -436,9 +436,6 @@ static int rt3883_pci_probe(struct platform_device *pdev)
 		return -ENOMEM;
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res)
-		return -EINVAL;
-
 	rpc->base = devm_ioremap_resource(dev, res);
 	if (IS_ERR(rpc->base))
 		return PTR_ERR(rpc->base);
-- 
1.8.5.1


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

* [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
                   ` (4 preceding siblings ...)
  2014-01-14 11:58 ` [PATCH 6/7] arch/mips/pci: " Wolfram Sang
@ 2014-01-14 11:58 ` Wolfram Sang
  2014-01-15  9:28   ` Linus Walleij
  2014-01-14 12:03 ` [PATCH 1/7] arch/mips/lantiq/xway: " John Crispin
  6 siblings, 1 reply; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 11:58 UTC (permalink / raw)
  To: linux-kernel; +Cc: Wolfram Sang, Linus Walleij, Alexandre Courbot, linux-gpio

devm_ioremap_resource does sanity checks on the given resource. No need to
duplicate this in the driver.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
---

Should go via subsystem tree

 drivers/gpio/gpio-davinci.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index 84be701..a5e1a56 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -172,11 +172,6 @@ static int davinci_gpio_probe(struct platform_device *pdev)
 	}
 
 	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-	if (!res) {
-		dev_err(dev, "Invalid memory resource\n");
-		return -EBUSY;
-	}
-
 	gpio_base = devm_ioremap_resource(dev, res);
 	if (IS_ERR(gpio_base))
 		return PTR_ERR(gpio_base);
-- 
1.8.5.1

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

* Re: [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
                   ` (5 preceding siblings ...)
  2014-01-14 11:58 ` [PATCH 7/7] drivers/gpio: " Wolfram Sang
@ 2014-01-14 12:03 ` John Crispin
  2014-01-14 12:11   ` Wolfram Sang
  6 siblings, 1 reply; 36+ messages in thread
From: John Crispin @ 2014-01-14 12:03 UTC (permalink / raw)
  To: Wolfram Sang, linux-kernel; +Cc: Ralf Baechle, linux-mips

Hi Wolfgang,

should we take 1/7 and 6/7 via the mips tree ?

    John


On 14/01/2014 12:58, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> Acked-by: John Crispin <blogic@openwrt.org>
> ---
>
> Should go via subsystem tree
>
>  arch/mips/lantiq/xway/dma.c | 4 ----
>  1 file changed, 4 deletions(-)
>
> diff --git a/arch/mips/lantiq/xway/dma.c b/arch/mips/lantiq/xway/dma.c
> index 08f7ebd..78a91fa 100644
> --- a/arch/mips/lantiq/xway/dma.c
> +++ b/arch/mips/lantiq/xway/dma.c
> @@ -220,10 +220,6 @@ ltq_dma_init(struct platform_device *pdev)
>  	int i;
>  
>  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	if (!res)
> -		panic("Failed to get dma resource");
> -
> -	/* remap dma register range */
>  	ltq_dma_membase = devm_ioremap_resource(&pdev->dev, res);
>  	if (IS_ERR(ltq_dma_membase))
>  		panic("Failed to remap dma resource");


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

* Re: [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  2014-01-14 12:03 ` [PATCH 1/7] arch/mips/lantiq/xway: " John Crispin
@ 2014-01-14 12:11   ` Wolfram Sang
  2014-01-14 12:22     ` John Crispin
  0 siblings, 1 reply; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 12:11 UTC (permalink / raw)
  To: John Crispin; +Cc: linux-kernel, Ralf Baechle, linux-mips

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]

Hi,

On Tue, Jan 14, 2014 at 01:03:34PM +0100, John Crispin wrote:
> Hi Wolfgang,

Wolfram, please...

> should we take 1/7 and 6/7 via the mips tree ?

> > Should go via subsystem tree

Yes :)

Thanks,

   Wolfram


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource
  2014-01-14 12:11   ` Wolfram Sang
@ 2014-01-14 12:22     ` John Crispin
  0 siblings, 0 replies; 36+ messages in thread
From: John Crispin @ 2014-01-14 12:22 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-kernel, Ralf Baechle, linux-mips

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

Hi Wolfram,

>> > Hi Wolfgang,
> Wolfram, please...

-EFAIL .... i was on the phone with a Wolfgang for several hours today :)
i know you are called Wolfram ... sorry

>> > should we take 1/7 and 6/7 via the mips tree ?
>>> > > Should go via subsystem tree
> Yes :)
>

OK, I'll pull them into my mips-next tree now

    John

[-- Attachment #2: Type: text/html, Size: 1736 bytes --]

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

* Re: [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
  2014-01-14 11:58   ` Wolfram Sang
@ 2014-01-14 13:17     ` Marek Vasut
  -1 siblings, 0 replies; 36+ messages in thread
From: Marek Vasut @ 2014-01-14 13:17 UTC (permalink / raw)
  To: linux-arm-kernel
  Cc: Wolfram Sang, linux-kernel, Richard Zhu, linux-pci,
	Bjorn Helgaas, Shawn Guo

On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

True that,

Acked-by: Marek Vasut <marex@denx.de>

> ---
> 
> Should go via subsystem tree
> 
>  drivers/pci/host/pci-imx6.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
> index bd70af8..5002e23 100644
> --- a/drivers/pci/host/pci-imx6.c
> +++ b/drivers/pci/host/pci-imx6.c
> @@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct
> platform_device *pdev) "imprecise external abort");
> 
>  	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	if (!dbi_base) {
> -		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
> -		return -ENODEV;
> -	}
> -
>  	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
>  	if (IS_ERR(pp->dbi_base)) {
>  		ret = PTR_ERR(pp->dbi_base);

Best regards,
Marek Vasut

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

* [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
@ 2014-01-14 13:17     ` Marek Vasut
  0 siblings, 0 replies; 36+ messages in thread
From: Marek Vasut @ 2014-01-14 13:17 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

True that,

Acked-by: Marek Vasut <marex@denx.de>

> ---
> 
> Should go via subsystem tree
> 
>  drivers/pci/host/pci-imx6.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
> index bd70af8..5002e23 100644
> --- a/drivers/pci/host/pci-imx6.c
> +++ b/drivers/pci/host/pci-imx6.c
> @@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct
> platform_device *pdev) "imprecise external abort");
> 
>  	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -	if (!dbi_base) {
> -		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
> -		return -ENODEV;
> -	}
> -
>  	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
>  	if (IS_ERR(pp->dbi_base)) {
>  		ret = PTR_ERR(pp->dbi_base);

Best regards,
Marek Vasut

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
  2014-01-14 11:58     ` Wolfram Sang
@ 2014-01-14 13:32         ` Thierry Reding
  -1 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2014-01-14 13:32 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Russell King,
	Stephen Warren, linux-tegra-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

On Tue, Jan 14, 2014 at 12:58:53PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> ---
> 
> Should go via subsystem tree
> 
>  drivers/amba/tegra-ahb.c | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Thierry Reding <treding-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
@ 2014-01-14 13:32         ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2014-01-14 13:32 UTC (permalink / raw)
  To: Wolfram Sang; +Cc: linux-kernel, Russell King, Stephen Warren, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

On Tue, Jan 14, 2014 at 12:58:53PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
> 
> Should go via subsystem tree
> 
>  drivers/amba/tegra-ahb.c | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 3/7] drivers/gpu/host1x/drm: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 ` [PATCH 3/7] drivers/gpu/host1x/drm: " Wolfram Sang
@ 2014-01-14 13:40       ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2014-01-14 13:40 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Terje Bergström,
	David Airlie, Stephen Warren,
	dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 494 bytes --]

On Tue, Jan 14, 2014 at 12:58:54PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> Reviewed-by: Terje Bergstrom <tbergstrom-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
> ---
> 
> Should go via subsystem tree
> 
>  drivers/gpu/drm/tegra/hdmi.c | 3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 3/7] drivers/gpu/host1x/drm: don't check resource with devm_ioremap_resource
@ 2014-01-14 13:40       ` Thierry Reding
  0 siblings, 0 replies; 36+ messages in thread
From: Thierry Reding @ 2014-01-14 13:40 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel, Terje Bergström, David Airlie, Stephen Warren,
	dri-devel, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 439 bytes --]

On Tue, Jan 14, 2014 at 12:58:54PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
> ---
> 
> Should go via subsystem tree
> 
>  drivers/gpu/drm/tegra/hdmi.c | 3 ---
>  1 file changed, 3 deletions(-)

Applied, thanks.

Thierry

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 5/7] drivers/usb/dwc3: don't check resource with devm_ioremap_resource
@ 2014-01-14 14:15     ` Felipe Balbi
  0 siblings, 0 replies; 36+ messages in thread
From: Felipe Balbi @ 2014-01-14 14:15 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel, Felipe Balbi, Greg Kroah-Hartman, linux-usb, linux-omap

[-- Attachment #1: Type: text/plain, Size: 336 bytes --]

On Tue, Jan 14, 2014 at 12:58:56PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
> 
> Should go via subsystem tree

too late for v3.14, I'll merge this for v3.15.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH 5/7] drivers/usb/dwc3: don't check resource with devm_ioremap_resource
@ 2014-01-14 14:15     ` Felipe Balbi
  0 siblings, 0 replies; 36+ messages in thread
From: Felipe Balbi @ 2014-01-14 14:15 UTC (permalink / raw)
  To: Wolfram Sang
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Felipe Balbi,
	Greg Kroah-Hartman, linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-omap-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

On Tue, Jan 14, 2014 at 12:58:56PM +0100, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
> 
> Signed-off-by: Wolfram Sang <wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
> ---
> 
> Should go via subsystem tree

too late for v3.14, I'll merge this for v3.15.

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
  2014-01-14 11:58     ` Wolfram Sang
@ 2014-01-14 17:40         ` Stephen Warren
  -1 siblings, 0 replies; 36+ messages in thread
From: Stephen Warren @ 2014-01-14 17:40 UTC (permalink / raw)
  To: Wolfram Sang, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Russell King, Thierry Reding, linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 01/14/2014 04:58 AM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.

This looks fine. I expect to apply it for 3.15 after the 3.14 merge
window, unless it's urgent to get it into 3.14 for some reason?

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
@ 2014-01-14 17:40         ` Stephen Warren
  0 siblings, 0 replies; 36+ messages in thread
From: Stephen Warren @ 2014-01-14 17:40 UTC (permalink / raw)
  To: Wolfram Sang, linux-kernel; +Cc: Russell King, Thierry Reding, linux-tegra

On 01/14/2014 04:58 AM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.

This looks fine. I expect to apply it for 3.15 after the 3.14 merge
window, unless it's urgent to get it into 3.14 for some reason?

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
  2014-01-14 17:40         ` Stephen Warren
@ 2014-01-14 18:30             ` Wolfram Sang
  -1 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 18:30 UTC (permalink / raw)
  To: Stephen Warren
  Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA, Russell King,
	Thierry Reding, linux-tegra-u79uwXL29TY76Z2rM5mHXA

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]


> This looks fine. I expect to apply it for 3.15 after the 3.14 merge
> window, unless it's urgent to get it into 3.14 for some reason?

Nope, it is not. I wasn't aiming for 3.14, it was simply in my queue.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
@ 2014-01-14 18:30             ` Wolfram Sang
  0 siblings, 0 replies; 36+ messages in thread
From: Wolfram Sang @ 2014-01-14 18:30 UTC (permalink / raw)
  To: Stephen Warren; +Cc: linux-kernel, Russell King, Thierry Reding, linux-tegra

[-- Attachment #1: Type: text/plain, Size: 209 bytes --]


> This looks fine. I expect to apply it for 3.15 after the 3.14 merge
> window, unless it's urgent to get it into 3.14 for some reason?

Nope, it is not. I wasn't aiming for 3.14, it was simply in my queue.


[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
  2014-01-14 13:17     ` Marek Vasut
@ 2014-01-14 22:32       ` Jingoo Han
  -1 siblings, 0 replies; 36+ messages in thread
From: Jingoo Han @ 2014-01-14 22:32 UTC (permalink / raw)
  To: 'Marek Vasut', 'Wolfram Sang', 'Fabio Estevam'
  Cc: linux-arm-kernel, linux-kernel, 'Richard Zhu',
	linux-pci, 'Bjorn Helgaas', 'Shawn Guo',
	'Jingoo Han'

On Tuesday, January 14, 2014 10:17 PM, Marek Vasut wrote:
> On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote:
> > devm_ioremap_resource does sanity checks on the given resource. No need to
> > duplicate this in the driver.
> >
> > Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> 
> True that,
> 
> Acked-by: Marek Vasut <marex@denx.de>

(+cc Fabio Estevam)

Hi all,

The same patch was already sent by Fabio Estevam a month ago.[1]
Also, it was applied to pci/next tree.[2]

[1] http://www.spinics.net/lists/linux-pci/msg26873.html
[2] http://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=next&id=ebb034a4ce9fc37877b3df2b85b9c33d43349586

Best regards,
Jingoo Han

> 
> > ---
> >
> > Should go via subsystem tree
> >
> >  drivers/pci/host/pci-imx6.c | 5 -----
> >  1 file changed, 5 deletions(-)
> >
> > diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
> > index bd70af8..5002e23 100644
> > --- a/drivers/pci/host/pci-imx6.c
> > +++ b/drivers/pci/host/pci-imx6.c
> > @@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct
> > platform_device *pdev) "imprecise external abort");
> >
> >  	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > -	if (!dbi_base) {
> > -		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
> > -		return -ENODEV;
> > -	}
> > -
> >  	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
> >  	if (IS_ERR(pp->dbi_base)) {
> >  		ret = PTR_ERR(pp->dbi_base);
> 
> Best regards,
> Marek Vasut


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

* [PATCH 4/7] drivers/pci/host: don't check resource with devm_ioremap_resource
@ 2014-01-14 22:32       ` Jingoo Han
  0 siblings, 0 replies; 36+ messages in thread
From: Jingoo Han @ 2014-01-14 22:32 UTC (permalink / raw)
  To: linux-arm-kernel

On Tuesday, January 14, 2014 10:17 PM, Marek Vasut wrote:
> On Tuesday, January 14, 2014 at 12:58:55 PM, Wolfram Sang wrote:
> > devm_ioremap_resource does sanity checks on the given resource. No need to
> > duplicate this in the driver.
> >
> > Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> 
> True that,
> 
> Acked-by: Marek Vasut <marex@denx.de>

(+cc Fabio Estevam)

Hi all,

The same patch was already sent by Fabio Estevam a month ago.[1]
Also, it was applied to pci/next tree.[2]

[1] http://www.spinics.net/lists/linux-pci/msg26873.html
[2] http://git.kernel.org/cgit/linux/kernel/git/helgaas/pci.git/commit/?h=next&id=ebb034a4ce9fc37877b3df2b85b9c33d43349586

Best regards,
Jingoo Han

> 
> > ---
> >
> > Should go via subsystem tree
> >
> >  drivers/pci/host/pci-imx6.c | 5 -----
> >  1 file changed, 5 deletions(-)
> >
> > diff --git a/drivers/pci/host/pci-imx6.c b/drivers/pci/host/pci-imx6.c
> > index bd70af8..5002e23 100644
> > --- a/drivers/pci/host/pci-imx6.c
> > +++ b/drivers/pci/host/pci-imx6.c
> > @@ -426,11 +426,6 @@ static int __init imx6_pcie_probe(struct
> > platform_device *pdev) "imprecise external abort");
> >
> >  	dbi_base = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> > -	if (!dbi_base) {
> > -		dev_err(&pdev->dev, "dbi_base memory resource not found\n");
> > -		return -ENODEV;
> > -	}
> > -
> >  	pp->dbi_base = devm_ioremap_resource(&pdev->dev, dbi_base);
> >  	if (IS_ERR(pp->dbi_base)) {
> >  		ret = PTR_ERR(pp->dbi_base);
> 
> Best regards,
> Marek Vasut

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-14 11:58 ` [PATCH 7/7] drivers/gpio: " Wolfram Sang
@ 2014-01-15  9:28   ` Linus Walleij
  2014-01-15 12:54     ` Sekhar Nori
  0 siblings, 1 reply; 36+ messages in thread
From: Linus Walleij @ 2014-01-15  9:28 UTC (permalink / raw)
  To: Wolfram Sang, Sekhar Nori, Kevin Hilman, Santosh Shilimkar
  Cc: linux-kernel, Alexandre Courbot, linux-gpio

On Tue, Jan 14, 2014 at 12:58 PM, Wolfram Sang <wsa@the-dreams.de> wrote:

> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.
>
> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
> ---
>
> Should go via subsystem tree
>
>  drivers/gpio/gpio-davinci.c | 5 -----
>  1 file changed, 5 deletions(-)
>
> diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
> index 84be701..a5e1a56 100644
> --- a/drivers/gpio/gpio-davinci.c
> +++ b/drivers/gpio/gpio-davinci.c
> @@ -172,11 +172,6 @@ static int davinci_gpio_probe(struct platform_device *pdev)
>         }
>
>         res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> -       if (!res) {
> -               dev_err(dev, "Invalid memory resource\n");
> -               return -EBUSY;
> -       }
> -
>         gpio_base = devm_ioremap_resource(dev, res);
>         if (IS_ERR(gpio_base))
>                 return PTR_ERR(gpio_base);

Acked-by: Linus Walleij <linus.walleij@linaro.org>

The DaVinci maintainers are queuing GPIO patches for their driver
for this merge window, so requesting them to apply this patch.

Yours,
Linus Walleij

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-15  9:28   ` Linus Walleij
@ 2014-01-15 12:54     ` Sekhar Nori
  2014-01-15 13:51       ` Linus Walleij
  0 siblings, 1 reply; 36+ messages in thread
From: Sekhar Nori @ 2014-01-15 12:54 UTC (permalink / raw)
  To: Linus Walleij, Wolfram Sang, Kevin Hilman, Santosh Shilimkar
  Cc: linux-kernel, Alexandre Courbot, linux-gpio

On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
> On Tue, Jan 14, 2014 at 12:58 PM, Wolfram Sang <wsa@the-dreams.de> wrote:
> 
>> devm_ioremap_resource does sanity checks on the given resource. No need to
>> duplicate this in the driver.
>>
>> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
>> ---
>>
>> Should go via subsystem tree
>>
>>  drivers/gpio/gpio-davinci.c | 5 -----
>>  1 file changed, 5 deletions(-)
>>
>> diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
>> index 84be701..a5e1a56 100644
>> --- a/drivers/gpio/gpio-davinci.c
>> +++ b/drivers/gpio/gpio-davinci.c
>> @@ -172,11 +172,6 @@ static int davinci_gpio_probe(struct platform_device *pdev)
>>         }
>>
>>         res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
>> -       if (!res) {
>> -               dev_err(dev, "Invalid memory resource\n");
>> -               return -EBUSY;
>> -       }
>> -
>>         gpio_base = devm_ioremap_resource(dev, res);
>>         if (IS_ERR(gpio_base))
>>                 return PTR_ERR(gpio_base);
> 
> Acked-by: Linus Walleij <linus.walleij@linaro.org>
> 
> The DaVinci maintainers are queuing GPIO patches for their driver
> for this merge window, so requesting them to apply this patch.

I wont be sending any more pull requests for v3.14. Even if I send, the
ARM-SoC maintainers will not take it anyway. So likely this wont get
into v3.14. For v3.15, Linus should be able to queue it as dependencies
would have made it into the kernel by then.

Thanks,
Sekhar

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-15 12:54     ` Sekhar Nori
@ 2014-01-15 13:51       ` Linus Walleij
  2014-01-15 14:04         ` Sekhar Nori
  0 siblings, 1 reply; 36+ messages in thread
From: Linus Walleij @ 2014-01-15 13:51 UTC (permalink / raw)
  To: Sekhar Nori, Wolfram Sang
  Cc: Kevin Hilman, Santosh Shilimkar, linux-kernel, Alexandre Courbot,
	linux-gpio

On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:

>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>
>> The DaVinci maintainers are queuing GPIO patches for their driver
>> for this merge window, so requesting them to apply this patch.
>
> I wont be sending any more pull requests for v3.14. Even if I send, the
> ARM-SoC maintainers will not take it anyway.

But as it is a fix I believe the ARM SoC maintainers will apply it
directly to the davinci branch.

Wolfram: I suggest you send this patch with my ACK directly
to arm@kernel.org and ask it to be applied to the davinci branch
in the ARM SoC tree.

Yours,
Linus Walleij

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-15 13:51       ` Linus Walleij
@ 2014-01-15 14:04         ` Sekhar Nori
  2014-01-15 15:50             ` Kevin Hilman
  0 siblings, 1 reply; 36+ messages in thread
From: Sekhar Nori @ 2014-01-15 14:04 UTC (permalink / raw)
  To: Linus Walleij, Wolfram Sang
  Cc: Kevin Hilman, Santosh Shilimkar, linux-kernel, Alexandre Courbot,
	linux-gpio

On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote:
> On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
> 
>>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>>
>>> The DaVinci maintainers are queuing GPIO patches for their driver
>>> for this merge window, so requesting them to apply this patch.
>>
>> I wont be sending any more pull requests for v3.14. Even if I send, the
>> ARM-SoC maintainers will not take it anyway.
> 
> But as it is a fix I believe the ARM SoC maintainers will apply it
> directly to the davinci branch.

Sorry I did not realize this is a fix.

> 
> Wolfram: I suggest you send this patch with my ACK directly
> to arm@kernel.org and ask it to be applied to the davinci branch
> in the ARM SoC tree.

This would work too, I guess. Wolfram, can you please keep me in CC too
in case questions/actions come up?

Thanks,
Sekhar

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-15 14:04         ` Sekhar Nori
@ 2014-01-15 15:50             ` Kevin Hilman
  0 siblings, 0 replies; 36+ messages in thread
From: Kevin Hilman @ 2014-01-15 15:50 UTC (permalink / raw)
  To: Sekhar Nori
  Cc: Linus Walleij, Wolfram Sang, Santosh Shilimkar, linux-kernel,
	Alexandre Courbot, linux-gpio

Sekhar Nori <nsekhar@ti.com> writes:

> On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote:
>> On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>>> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
>> 
>>>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>>>
>>>> The DaVinci maintainers are queuing GPIO patches for their driver
>>>> for this merge window, so requesting them to apply this patch.
>>>
>>> I wont be sending any more pull requests for v3.14. Even if I send, the
>>> ARM-SoC maintainers will not take it anyway.
>> 
>> But as it is a fix I believe the ARM SoC maintainers will apply it
>> directly to the davinci branch.
>
> Sorry I did not realize this is a fix.
>
>> 
>> Wolfram: I suggest you send this patch with my ACK directly
>> to arm@kernel.org and ask it to be applied to the davinci branch
>> in the ARM SoC tree.
>
> This would work too, I guess. Wolfram, can you please keep me in CC too
> in case questions/actions come up?

Sekhar, I assume this is an ack from you too?  If so, Wolfram, please
include that in the patch submitted to arm-soc.

Kevin

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
@ 2014-01-15 15:50             ` Kevin Hilman
  0 siblings, 0 replies; 36+ messages in thread
From: Kevin Hilman @ 2014-01-15 15:50 UTC (permalink / raw)
  To: Sekhar Nori
  Cc: Linus Walleij, Wolfram Sang, Santosh Shilimkar, linux-kernel,
	Alexandre Courbot, linux-gpio

Sekhar Nori <nsekhar@ti.com> writes:

> On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote:
>> On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>>> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
>> 
>>>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>>>
>>>> The DaVinci maintainers are queuing GPIO patches for their driver
>>>> for this merge window, so requesting them to apply this patch.
>>>
>>> I wont be sending any more pull requests for v3.14. Even if I send, the
>>> ARM-SoC maintainers will not take it anyway.
>> 
>> But as it is a fix I believe the ARM SoC maintainers will apply it
>> directly to the davinci branch.
>
> Sorry I did not realize this is a fix.
>
>> 
>> Wolfram: I suggest you send this patch with my ACK directly
>> to arm@kernel.org and ask it to be applied to the davinci branch
>> in the ARM SoC tree.
>
> This would work too, I guess. Wolfram, can you please keep me in CC too
> in case questions/actions come up?

Sekhar, I assume this is an ack from you too?  If so, Wolfram, please
include that in the patch submitted to arm-soc.

Kevin

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-15 15:50             ` Kevin Hilman
  (?)
@ 2014-01-16  4:29             ` Sekhar Nori
  2014-02-03 11:30               ` Grygorii Strashko
  -1 siblings, 1 reply; 36+ messages in thread
From: Sekhar Nori @ 2014-01-16  4:29 UTC (permalink / raw)
  To: Kevin Hilman
  Cc: Linus Walleij, Wolfram Sang, Santosh Shilimkar, linux-kernel,
	Alexandre Courbot, linux-gpio

On Wednesday 15 January 2014 09:20 PM, Kevin Hilman wrote:
> Sekhar Nori <nsekhar@ti.com> writes:
> 
>> On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote:
>>> On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>>>> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
>>>
>>>>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>>>>
>>>>> The DaVinci maintainers are queuing GPIO patches for their driver
>>>>> for this merge window, so requesting them to apply this patch.
>>>>
>>>> I wont be sending any more pull requests for v3.14. Even if I send, the
>>>> ARM-SoC maintainers will not take it anyway.
>>>
>>> But as it is a fix I believe the ARM SoC maintainers will apply it
>>> directly to the davinci branch.
>>
>> Sorry I did not realize this is a fix.
>>
>>>
>>> Wolfram: I suggest you send this patch with my ACK directly
>>> to arm@kernel.org and ask it to be applied to the davinci branch
>>> in the ARM SoC tree.
>>
>> This would work too, I guess. Wolfram, can you please keep me in CC too
>> in case questions/actions come up?
> 
> Sekhar, I assume this is an ack from you too?  If so, Wolfram, please
> include that in the patch submitted to arm-soc.

Wolfram, if you have not sent it already, please add:

Acked-by: Sekhar Nori <nsekhar@ti.com>

The branch to which the patch will be applied is davinci/gpio on
git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git. Please
rebase on this branch so it applies cleanly.

Thanks,
Sekhar

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

* Re: [PATCH 7/7] drivers/gpio: don't check resource with devm_ioremap_resource
  2014-01-16  4:29             ` Sekhar Nori
@ 2014-02-03 11:30               ` Grygorii Strashko
  0 siblings, 0 replies; 36+ messages in thread
From: Grygorii Strashko @ 2014-02-03 11:30 UTC (permalink / raw)
  To: Sekhar Nori, Kevin Hilman
  Cc: Linus Walleij, Wolfram Sang, Santosh Shilimkar, linux-kernel,
	Alexandre Courbot, linux-gpio

Hi Linus, Sekhar,

On 01/16/2014 06:29 AM, Sekhar Nori wrote:
> On Wednesday 15 January 2014 09:20 PM, Kevin Hilman wrote:
>> Sekhar Nori <nsekhar@ti.com> writes:
>>
>>> On Wednesday 15 January 2014 07:21 PM, Linus Walleij wrote:
>>>> On Wed, Jan 15, 2014 at 1:54 PM, Sekhar Nori <nsekhar@ti.com> wrote:
>>>>> On Wednesday 15 January 2014 02:58 PM, Linus Walleij wrote:
>>>>
>>>>>> Acked-by: Linus Walleij <linus.walleij@linaro.org>
>>>>>>
>>>>>> The DaVinci maintainers are queuing GPIO patches for their driver
>>>>>> for this merge window, so requesting them to apply this patch.
>>>>>
>>>>> I wont be sending any more pull requests for v3.14. Even if I send, the
>>>>> ARM-SoC maintainers will not take it anyway.
>>>>
>>>> But as it is a fix I believe the ARM SoC maintainers will apply it
>>>> directly to the davinci branch.
>>>
>>> Sorry I did not realize this is a fix.
>>>
>>>>
>>>> Wolfram: I suggest you send this patch with my ACK directly
>>>> to arm@kernel.org and ask it to be applied to the davinci branch
>>>> in the ARM SoC tree.
>>>
>>> This would work too, I guess. Wolfram, can you please keep me in CC too
>>> in case questions/actions come up?
>>
>> Sekhar, I assume this is an ack from you too?  If so, Wolfram, please
>> include that in the patch submitted to arm-soc.
> 
> Wolfram, if you have not sent it already, please add:
> 
> Acked-by: Sekhar Nori <nsekhar@ti.com>
> 
> The branch to which the patch will be applied is davinci/gpio on
> git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc.git. Please
> rebase on this branch so it applies cleanly.
> 

This patch is not in 3.14 yet. Are there any chances to have it in 3.14, 
as it introduces merge conflicts with future patches?

Regards,
-grygorii

 


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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
  2014-01-14 11:58     ` Wolfram Sang
@ 2014-02-05 17:18         ` Stephen Warren
  -1 siblings, 0 replies; 36+ messages in thread
From: Stephen Warren @ 2014-02-05 17:18 UTC (permalink / raw)
  To: Wolfram Sang, linux-kernel-u79uwXL29TY76Z2rM5mHXA
  Cc: Russell King, Thierry Reding, linux-tegra-u79uwXL29TY76Z2rM5mHXA

On 01/14/2014 04:58 AM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.

Applied to Tegra's for-3.15/drivers branch.

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

* Re: [PATCH 2/7] drivers/amba: don't check resource with devm_ioremap_resource
@ 2014-02-05 17:18         ` Stephen Warren
  0 siblings, 0 replies; 36+ messages in thread
From: Stephen Warren @ 2014-02-05 17:18 UTC (permalink / raw)
  To: Wolfram Sang, linux-kernel; +Cc: Russell King, Thierry Reding, linux-tegra

On 01/14/2014 04:58 AM, Wolfram Sang wrote:
> devm_ioremap_resource does sanity checks on the given resource. No need to
> duplicate this in the driver.

Applied to Tegra's for-3.15/drivers branch.


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

end of thread, other threads:[~2014-03-06  9:35 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-14 11:58 [PATCH 1/7] arch/mips/lantiq/xway: don't check resource with devm_ioremap_resource Wolfram Sang
     [not found] ` <1389700739-3696-1-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-01-14 11:58   ` [PATCH 2/7] drivers/amba: " Wolfram Sang
2014-01-14 11:58     ` Wolfram Sang
     [not found]     ` <1389700739-3696-2-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-01-14 13:32       ` Thierry Reding
2014-01-14 13:32         ` Thierry Reding
2014-01-14 17:40       ` Stephen Warren
2014-01-14 17:40         ` Stephen Warren
     [not found]         ` <52D57688.8070105-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2014-01-14 18:30           ` Wolfram Sang
2014-01-14 18:30             ` Wolfram Sang
2014-02-05 17:18       ` Stephen Warren
2014-02-05 17:18         ` Stephen Warren
2014-01-14 11:58 ` [PATCH 3/7] drivers/gpu/host1x/drm: " Wolfram Sang
     [not found]   ` <1389700739-3696-3-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org>
2014-01-14 13:40     ` Thierry Reding
2014-01-14 13:40       ` Thierry Reding
2014-01-14 11:58 ` [PATCH 4/7] drivers/pci/host: " Wolfram Sang
2014-01-14 11:58   ` Wolfram Sang
2014-01-14 13:17   ` Marek Vasut
2014-01-14 13:17     ` Marek Vasut
2014-01-14 22:32     ` Jingoo Han
2014-01-14 22:32       ` Jingoo Han
2014-01-14 11:58 ` [PATCH 5/7] drivers/usb/dwc3: " Wolfram Sang
2014-01-14 14:15   ` Felipe Balbi
2014-01-14 14:15     ` Felipe Balbi
2014-01-14 11:58 ` [PATCH 6/7] arch/mips/pci: " Wolfram Sang
2014-01-14 11:58 ` [PATCH 7/7] drivers/gpio: " Wolfram Sang
2014-01-15  9:28   ` Linus Walleij
2014-01-15 12:54     ` Sekhar Nori
2014-01-15 13:51       ` Linus Walleij
2014-01-15 14:04         ` Sekhar Nori
2014-01-15 15:50           ` Kevin Hilman
2014-01-15 15:50             ` Kevin Hilman
2014-01-16  4:29             ` Sekhar Nori
2014-02-03 11:30               ` Grygorii Strashko
2014-01-14 12:03 ` [PATCH 1/7] arch/mips/lantiq/xway: " John Crispin
2014-01-14 12:11   ` Wolfram Sang
2014-01-14 12:22     ` John Crispin

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.