From: Peter Ujfalusi Date: Mon, 10 Nov 2014 10:32:15 +0000 (+0200) Subject: ASoC: davinci-mcasp: Validate tdm_slots parameter at probe time X-Git-Tag: omap-for-v3.20/drop-legacy-3517~123^2~20^2~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a5923da4e2e6997f03545a2b88f2cd2dea1a5c2;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed