All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
@ 2013-03-20  5:22 Fabio Estevam
  2013-03-20  9:59 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2013-03-20  5:22 UTC (permalink / raw)
  To: s.hauer; +Cc: Fabio Estevam, alsa-devel, broonie

From: Fabio Estevam <fabio.estevam@freescale.com>

Fix the following warning when building with W=1 option:

sound/soc/fsl/imx-pcm-fiq.c: In function 'snd_hrtimer_callback':
sound/soc/fsl/imx-pcm-fiq.c:76:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 sound/soc/fsl/imx-pcm-fiq.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c
index 920f945..47228c0 100644
--- a/sound/soc/fsl/imx-pcm-fiq.c
+++ b/sound/soc/fsl/imx-pcm-fiq.c
@@ -34,7 +34,7 @@
 #include "imx-ssi.h"
 
 struct imx_pcm_runtime_data {
-	int period;
+	unsigned int period;
 	int periods;
 	unsigned long offset;
 	unsigned long last_offset;
-- 
1.7.9.5

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

* Re: [PATCH] ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
  2013-03-20  5:22 [PATCH] ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period Fabio Estevam
@ 2013-03-20  9:59 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2013-03-20  9:59 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: Fabio Estevam, s.hauer, alsa-devel


[-- Attachment #1.1: Type: text/plain, Size: 201 bytes --]

On Wed, Mar 20, 2013 at 02:22:40AM -0300, Fabio Estevam wrote:
> From: Fabio Estevam <fabio.estevam@freescale.com>
> 
> Fix the following warning when building with W=1 option:

Applied, thanks.

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

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



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

end of thread, other threads:[~2013-03-20  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-20  5:22 [PATCH] ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period Fabio Estevam
2013-03-20  9:59 ` Mark Brown

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.