summaryrefslogtreecommitdiff
path: root/sound/ppc/awacs.c
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2011-04-21 14:19:01 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-26 11:43:19 +0100
commit049cfaaa47cb9b796bbc298869c0a27d434bb766 (patch)
tree5a81464c5693436d258f236c524a8398590d3c88 /sound/ppc/awacs.c
parentb3c27b51db9112d03864fdef44fa611dd69c1425 (diff)
ASoC: davinci-mcasp: correct tdm_slots limit
The current check for the number of tdm-slots specified by platform data is always true (x >= 2 || x <= 32); therefore the else branch that warns of an incorrect number of slots can never be taken. Check that the number of tdm slots specified by platform data is between 2 and 32, inclusive. Signed-off-by: Ben Gardiner <bengardiner@nanometrics.ca> Reviewed-by: James Nuss <jamesnuss@nanometrics.ca> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/ppc/awacs.c')
0 files changed, 0 insertions, 0 deletions