aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/sh/rcar/scu.c
diff options
context:
space:
mode:
authorGravatar Takashi Iwai <tiwai@suse.de> 2013-11-21 15:07:44 +0100
committerGravatar Takashi Iwai <tiwai@suse.de> 2013-11-21 15:07:44 +0100
commitee71a70e95e4a01be17cf4dfe0339f9774bb5927 (patch)
treed10ce27c2a3cfee5332a91275f5426640d3bdc4b /sound/soc/sh/rcar/scu.c
parentALSA: hda - Add headset quirk for Dell Inspiron 3135 (diff)
parentMerge remote-tracking branch 'asoc/fix/wm8962' into asoc-linus (diff)
downloadlinux-ee71a70e95e4a01be17cf4dfe0339f9774bb5927.tar.gz
linux-ee71a70e95e4a01be17cf4dfe0339f9774bb5927.tar.bz2
linux-ee71a70e95e4a01be17cf4dfe0339f9774bb5927.zip
Merge tag 'asoc-v3.13-5' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
ASoC: Fixes for v3.13 A bunch of device specific fixes, nothing with a general impact here.
Diffstat (limited to 'sound/soc/sh/rcar/scu.c')
-rw-r--r--sound/soc/sh/rcar/scu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sh/rcar/scu.c b/sound/soc/sh/rcar/scu.c
index f4453e33a847..fa8fa15860b9 100644
--- a/sound/soc/sh/rcar/scu.c
+++ b/sound/soc/sh/rcar/scu.c
@@ -68,7 +68,7 @@ static int rsnd_scu_set_route(struct rsnd_priv *priv,
return 0;
id = rsnd_mod_id(mod);
- if (id < 0 || id > ARRAY_SIZE(routes))
+ if (id < 0 || id >= ARRAY_SIZE(routes))
return -EIO;
/*