commit | 1a5923da4e2e6997f03545a2b88f2cd2dea1a5c2 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Mon Nov 10 12:32:15 2014 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Nov 10 15:00:01 2014 +0000 |
tree | fc8e903860d1f10ccf22460b7972f00c238c730b | |
parent | bb372af0f7040fb637bfe0859aaa0ba49018506b [diff] |
ASoC: davinci-mcasp: Validate tdm_slots parameter at probe time Instead of validating the tdm_slots parameter every time at hw_params we can do it once during probe. If the parameter is not valid (<2 or >32) print an error and fix it up. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@kernel.org>