kernel_optimize_test/sound/soc/mxs
Fabio Estevam 324a7fb02b ASoC: mxs-saif: Use a signed integer for error value
saif->id and saif->master_id are unsigned, so they can not be negative.

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

sound/soc/mxs/mxs-saif.c: In function 'mxs_saif_probe':
sound/soc/mxs/mxs-saif.c:676:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
sound/soc/mxs/mxs-saif.c:688:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
sound/soc/mxs/mxs-saif.c:692:2: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]

Use a signed variable 'ret' to handle the error values.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2013-01-08 17:58:32 +00:00
..
Kconfig ASoC: mxs: Fix the name of the SoC family 2012-08-08 12:15:10 +01:00
Makefile ASoC: mxs: add asoc configuration files 2011-07-28 11:47:41 +01:00
mxs-pcm.c ASoC: mxs: remove __dev* attributes 2012-12-10 00:31:26 +09:00
mxs-pcm.h ASoC: mxs: mxs-pcm does not need to be a plaform_driver 2012-05-12 11:04:58 +01:00
mxs-saif.c ASoC: mxs-saif: Use a signed integer for error value 2013-01-08 17:58:32 +00:00
mxs-saif.h ASoC: mxs: mxs-pcm does not need to be a plaform_driver 2012-05-12 11:04:58 +01:00
mxs-sgtl5000.c ASoC: mxs: remove __dev* attributes 2012-12-10 00:31:26 +09:00