ASoC: fsl: fsl_spdif: signedness bug in fsl_spdif_startup()
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 9 Jul 2015 08:21:03 +0000 (11:21 +0300)
committerMark Brown <broonie@kernel.org>
Tue, 14 Jul 2015 17:54:10 +0000 (18:54 +0100)
commit89e0e250f92b0b0233337043ddf76f261916036c
tree954c21c11c9c6bb3b3d97d68557918ab05ab755e
parentd770e558e21961ad6cfdf0ff7df0eb5d7d4f0754
ASoC: fsl: fsl_spdif: signedness bug in fsl_spdif_startup()

We need "i" to be signed or it leads to a forever loop in the error
handling.

Fixes: fa3be9208dcb ('ASoC: fsl: fsl_spdif: Check for clk_prepare_enable() error')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_spdif.c