summaryrefslogtreecommitdiff
path: root/include/asm-generic/audit_dir_write.h
diff options
context:
space:
mode:
authorBen Gardiner <bengardiner@nanometrics.ca>2011-04-21 22:19:01 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-04-26 14:43:19 +0400
commit049cfaaa47cb9b796bbc298869c0a27d434bb766 (patch)
tree5a81464c5693436d258f236c524a8398590d3c88 /include/asm-generic/audit_dir_write.h
parentb3c27b51db9112d03864fdef44fa611dd69c1425 (diff)
downloadlinux-049cfaaa47cb9b796bbc298869c0a27d434bb766.tar.xz
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 'include/asm-generic/audit_dir_write.h')
0 files changed, 0 insertions, 0 deletions