diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-03-20 01:22:40 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2013-03-20 05:58:39 -0400 |
commit | 2fb148804fe50639be4c5addb9e28aad0fce1687 (patch) | |
tree | 4f62e6b0f90058ad68ff5fef7f8372172cace93a /sound/soc/fsl/imx-pcm-fiq.c | |
parent | 127c5cad87099fef816c8597258fc06285d17bb1 (diff) |
ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
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>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm-fiq.c')
-rw-r--r-- | sound/soc/fsl/imx-pcm-fiq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c index 920f945cb2f4..47228c0f929e 100644 --- a/sound/soc/fsl/imx-pcm-fiq.c +++ b/sound/soc/fsl/imx-pcm-fiq.c | |||
@@ -34,7 +34,7 @@ | |||
34 | #include "imx-ssi.h" | 34 | #include "imx-ssi.h" |
35 | 35 | ||
36 | struct imx_pcm_runtime_data { | 36 | struct imx_pcm_runtime_data { |
37 | int period; | 37 | unsigned int period; |
38 | int periods; | 38 | int periods; |
39 | unsigned long offset; | 39 | unsigned long offset; |
40 | unsigned long last_offset; | 40 | unsigned long last_offset; |