summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/core.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-06-16 00:02:59 +0000
committerMark Brown <broonie@kernel.org>2017-06-21 12:14:04 +0100
commit947f4eb58d2054b10a1d8146d0ab90b0e7fd3494 (patch)
treeefb22b113d41a780077bae2dc787397a53e90090 /sound/soc/sh/rcar/core.c
parent8cc03722403a5153054993388857e4e565dcdfb1 (diff)
downloadop-kernel-dev-947f4eb58d2054b10a1d8146d0ab90b0e7fd3494.zip
op-kernel-dev-947f4eb58d2054b10a1d8146d0ab90b0e7fd3494.tar.gz
ASoC: rsnd: fixup unsigned expression compared with zero: main_rate
This patch fixes this WARNING sound/soc/sh/rcar/ssi.c:285:5-14: WARNING: Unsigned expression\ compared with zero: main_rate < 0 Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sh/rcar/core.c')
-rw-r--r--sound/soc/sh/rcar/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/core.c b/sound/soc/sh/rcar/core.c
index 4892c0a..409bac3 100644
--- a/sound/soc/sh/rcar/core.c
+++ b/sound/soc/sh/rcar/core.c
@@ -763,7 +763,7 @@ static int rsnd_soc_hw_rule(struct rsnd_priv *priv,
struct snd_interval *baseline, struct snd_interval *iv)
{
struct snd_interval p;
- int rate;
+ unsigned int rate;
int i;
snd_interval_any(&p);
OpenPOWER on IntegriCloud