diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-11-10 13:32:15 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-10 18:00:01 +0300 |
commit | 1a5923da4e2e6997f03545a2b88f2cd2dea1a5c2 (patch) | |
tree | fc8e903860d1f10ccf22460b7972f00c238c730b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bb372af0f7040fb637bfe0859aaa0ba49018506b (diff) | |
download | linux-1a5923da4e2e6997f03545a2b88f2cd2dea1a5c2.tar.xz |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions