ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
Subsystems (4)
Fabio Estevam
reviewerPATCH 1/1 ASoC: fsl: imx-pcm-fiq: Use 'unsigned int' for period
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- sound/soc/fsl/imx-pcm-fiq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/imx-pcm-fiq.c +1 -1
@@ -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;
Signature · 1 line
1.7.9.5
Mark Brown
AppliedQuoted 3 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Fix the following warning when building with W=1 option:
Applied, thanks.