Skip to content

Commit

Permalink
ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fabio Estevam authored and Mark Brown committed Mar 20, 2013
1 parent 127c5ca commit 2fb1488
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/fsl/imx-pcm-fiq.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2fb1488

Please sign in to comment.