summaryrefslogtreecommitdiffstats
path: root/sound/soc/sh/rcar/rsnd.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2017-06-16 02:02:59 +0200
committerMark Brown <broonie@kernel.org>2017-06-21 13:14:04 +0200
commit947f4eb58d2054b10a1d8146d0ab90b0e7fd3494 (patch)
treeefb22b113d41a780077bae2dc787397a53e90090 /sound/soc/sh/rcar/rsnd.h
parentASoC: rsnd: add rsnd_soc_hw_rule/constraint() (diff)
downloadlinux-947f4eb58d2054b10a1d8146d0ab90b0e7fd3494.tar.xz
linux-947f4eb58d2054b10a1d8146d0ab90b0e7fd3494.zip
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/rsnd.h')
-rw-r--r--sound/soc/sh/rcar/rsnd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/rsnd.h b/sound/soc/sh/rcar/rsnd.h
index 9428d4e288dd..99c57611df88 100644
--- a/sound/soc/sh/rcar/rsnd.h
+++ b/sound/soc/sh/rcar/rsnd.h
@@ -680,7 +680,7 @@ int __rsnd_ssi_is_pin_sharing(struct rsnd_mod *mod);
void rsnd_parse_connect_ssi(struct rsnd_dai *rdai,
struct device_node *playback,
struct device_node *capture);
-int rsnd_ssi_clk_query(struct rsnd_priv *priv,
+unsigned int rsnd_ssi_clk_query(struct rsnd_priv *priv,
int param1, int param2, int *idx);
/*