linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment
  2011-05-26 11:44 ` [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment Nicolas Ferre
@ 2011-05-26 11:05   ` Liam Girdwood
  0 siblings, 0 replies; 6+ messages in thread
From: Liam Girdwood @ 2011-05-26 11:05 UTC (permalink / raw)
  To: linux-arm-kernel

On 26/05/11 12:44, Nicolas Ferre wrote:
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
> ---

All

Acked-by: Liam Girdwood <lrg@ti.com>

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

* sound/trivial: some little typo and little fix
@ 2011-05-26 11:44 Nicolas Ferre
  2011-05-26 11:44 ` [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment Nicolas Ferre
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Nicolas Ferre @ 2011-05-26 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

This is a tiny patch series with two typos and one error path fix.
More interesting stuff will come ;-)

Best regards,
-- 
Nicolas Ferre

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

* [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment
  2011-05-26 11:44 sound/trivial: some little typo and little fix Nicolas Ferre
@ 2011-05-26 11:44 ` Nicolas Ferre
  2011-05-26 11:05   ` Liam Girdwood
  2011-05-26 11:44 ` [PATCH 2/3] sound/atmel-pcm: trivial: typo in atmel_pcm_dma_params strucutre comment Nicolas Ferre
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 6+ messages in thread
From: Nicolas Ferre @ 2011-05-26 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 sound/soc/atmel/atmel-pcm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
index d0e7532..51dde4e 100644
--- a/sound/soc/atmel/atmel-pcm.c
+++ b/sound/soc/atmel/atmel-pcm.c
@@ -382,7 +382,7 @@ static int atmel_pcm_new(struct snd_card *card,
 	}
 
 	if (dai->driver->capture.channels_min) {
-		pr_debug("at32-pcm:"
+		pr_debug("atmel-pcm:"
 				"Allocating PCM capture DMA buffer\n");
 		ret = atmel_pcm_preallocate_dma_buffer(pcm,
 			SNDRV_PCM_STREAM_CAPTURE);
-- 
1.7.3

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

* [PATCH 2/3] sound/atmel-pcm: trivial: typo in atmel_pcm_dma_params strucutre comment
  2011-05-26 11:44 sound/trivial: some little typo and little fix Nicolas Ferre
  2011-05-26 11:44 ` [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment Nicolas Ferre
@ 2011-05-26 11:44 ` Nicolas Ferre
  2011-05-26 11:44 ` [PATCH 3/3] sound: atmel_ssc_dai: fix ssc error path Nicolas Ferre
  2011-05-26 14:07 ` sound/trivial: some little typo and little fix Mark Brown
  3 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2011-05-26 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 sound/soc/atmel/atmel-pcm.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sound/soc/atmel/atmel-pcm.h b/sound/soc/atmel/atmel-pcm.h
index 2597329..5e0a95e 100644
--- a/sound/soc/atmel/atmel-pcm.h
+++ b/sound/soc/atmel/atmel-pcm.h
@@ -60,7 +60,7 @@ struct atmel_ssc_mask {
  * This structure, shared between the PCM driver and the interface,
  * contains all information required by the PCM driver to perform the
  * PDC DMA operation.  All fields except dma_intr_handler() are initialized
- * by the interface.  The dms_intr_handler() pointer is set by the PCM
+ * by the interface.  The dma_intr_handler() pointer is set by the PCM
  * driver and called by the interface SSC interrupt handler if it is
  * non-NULL.
  */
-- 
1.7.3

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

* [PATCH 3/3] sound: atmel_ssc_dai: fix ssc error path
  2011-05-26 11:44 sound/trivial: some little typo and little fix Nicolas Ferre
  2011-05-26 11:44 ` [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment Nicolas Ferre
  2011-05-26 11:44 ` [PATCH 2/3] sound/atmel-pcm: trivial: typo in atmel_pcm_dma_params strucutre comment Nicolas Ferre
@ 2011-05-26 11:44 ` Nicolas Ferre
  2011-05-26 14:07 ` sound/trivial: some little typo and little fix Mark Brown
  3 siblings, 0 replies; 6+ messages in thread
From: Nicolas Ferre @ 2011-05-26 11:44 UTC (permalink / raw)
  To: linux-arm-kernel

We do not have to free a resource that is not allocated yet.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
 sound/soc/atmel/atmel_ssc_dai.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 7fbfa05..a7a7bbc 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -838,10 +838,8 @@ int atmel_ssc_set_audio(int ssc_id)
 	}
 
 	ssc_pdev = platform_device_alloc("atmel-ssc-dai", ssc_id);
-	if (!ssc_pdev) {
-		ssc_free(ssc);
+	if (!ssc_pdev)
 		return -ENOMEM;
-	}
 
 	/* If we can grab the SSC briefly to parent the DAI device off it */
 	ssc = ssc_request(ssc_id);
-- 
1.7.3

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

* sound/trivial: some little typo and little fix
  2011-05-26 11:44 sound/trivial: some little typo and little fix Nicolas Ferre
                   ` (2 preceding siblings ...)
  2011-05-26 11:44 ` [PATCH 3/3] sound: atmel_ssc_dai: fix ssc error path Nicolas Ferre
@ 2011-05-26 14:07 ` Mark Brown
  3 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2011-05-26 14:07 UTC (permalink / raw)
  To: linux-arm-kernel

On Thu, May 26, 2011 at 01:44:09PM +0200, Nicolas Ferre wrote:
> Hi,
> 
> This is a tiny patch series with two typos and one error path fix.
> More interesting stuff will come ;-)

Applied all, thanks.

Please do try to use subject lines for your patches which are consistent
with the rest of the subsystem - it makes them much easier to apply.

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

end of thread, other threads:[~2011-05-26 14:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 11:44 sound/trivial: some little typo and little fix Nicolas Ferre
2011-05-26 11:44 ` [PATCH 1/3] sound/atmel-pcm: trivial: typo in debug comment Nicolas Ferre
2011-05-26 11:05   ` Liam Girdwood
2011-05-26 11:44 ` [PATCH 2/3] sound/atmel-pcm: trivial: typo in atmel_pcm_dma_params strucutre comment Nicolas Ferre
2011-05-26 11:44 ` [PATCH 3/3] sound: atmel_ssc_dai: fix ssc error path Nicolas Ferre
2011-05-26 14:07 ` sound/trivial: some little typo and little fix 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).