* [PATCH] ASoC: omap-mcpdm: Remove useless ressource get.
@ 2013-02-11 13:02 Sebastien Guiriec
2013-02-11 13:08 ` Peter Ujfalusi
2013-02-11 16:56 ` Mark Brown
0 siblings, 2 replies; 3+ messages in thread
From: Sebastien Guiriec @ 2013-02-11 13:02 UTC (permalink / raw)
To: Sebastien Guiriec, Peter Ujfalusi, Jarkko Nikula, Liam Girdwood,
Mark Brown, linux-omap, alsa-devel
Remove unused memory ressource get from McPDM driver.
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
---
sound/soc/omap/omap-mcpdm.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
index 2fe8be2..5ca11bd 100644
--- a/sound/soc/omap/omap-mcpdm.c
+++ b/sound/soc/omap/omap-mcpdm.c
@@ -449,10 +449,6 @@ static int asoc_mcpdm_probe(struct platform_device *pdev)
omap_mcpdm_dai_dma_params[0].port_addr = res->start + MCPDM_REG_DN_DATA;
omap_mcpdm_dai_dma_params[1].port_addr = res->start + MCPDM_REG_UP_DATA;
- res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
- if (res == NULL)
- return -ENOMEM;
-
res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "dn_link");
if (!res)
return -ENODEV;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: omap-mcpdm: Remove useless ressource get.
2013-02-11 13:02 [PATCH] ASoC: omap-mcpdm: Remove useless ressource get Sebastien Guiriec
@ 2013-02-11 13:08 ` Peter Ujfalusi
2013-02-11 16:56 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Peter Ujfalusi @ 2013-02-11 13:08 UTC (permalink / raw)
To: Sebastien Guiriec
Cc: Jarkko Nikula, Liam Girdwood, Mark Brown, linux-omap, alsa-devel
Hi Sebastien,
On 02/11/2013 02:02 PM, Sebastien Guiriec wrote:
> Remove unused memory ressource get from McPDM driver.
I have no idea how this remain in the driver ;)
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
> ---
> sound/soc/omap/omap-mcpdm.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/sound/soc/omap/omap-mcpdm.c b/sound/soc/omap/omap-mcpdm.c
> index 2fe8be2..5ca11bd 100644
> --- a/sound/soc/omap/omap-mcpdm.c
> +++ b/sound/soc/omap/omap-mcpdm.c
> @@ -449,10 +449,6 @@ static int asoc_mcpdm_probe(struct platform_device *pdev)
> omap_mcpdm_dai_dma_params[0].port_addr = res->start + MCPDM_REG_DN_DATA;
> omap_mcpdm_dai_dma_params[1].port_addr = res->start + MCPDM_REG_UP_DATA;
>
> - res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
> - if (res == NULL)
> - return -ENOMEM;
> -
> res = platform_get_resource_byname(pdev, IORESOURCE_DMA, "dn_link");
> if (!res)
> return -ENODEV;
>
--
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ASoC: omap-mcpdm: Remove useless ressource get.
2013-02-11 13:02 [PATCH] ASoC: omap-mcpdm: Remove useless ressource get Sebastien Guiriec
2013-02-11 13:08 ` Peter Ujfalusi
@ 2013-02-11 16:56 ` Mark Brown
1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2013-02-11 16:56 UTC (permalink / raw)
To: Sebastien Guiriec
Cc: Peter Ujfalusi, Jarkko Nikula, Liam Girdwood, linux-omap,
alsa-devel
[-- Attachment #1: Type: text/plain, Size: 141 bytes --]
On Mon, Feb 11, 2013 at 02:02:42PM +0100, Sebastien Guiriec wrote:
> Remove unused memory ressource get from McPDM driver.
Applied, thanks.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-02-11 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-11 13:02 [PATCH] ASoC: omap-mcpdm: Remove useless ressource get Sebastien Guiriec
2013-02-11 13:08 ` Peter Ujfalusi
2013-02-11 16:56 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).