diff options
author | Andrew F. Davis <afd@ti.com> | 2017-11-30 00:32:52 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2017-12-01 16:30:48 +0300 |
commit | c6b8c779213dfe2a31e12400b1a2cf2a9a843236 (patch) | |
tree | f6dacb02ecd5d6f7a3febe182e38fd22844c513a /sound/soc/codecs/cs35l35.c | |
parent | b6b247cd5e37560e410c88b108e7408dafe60c15 (diff) | |
download | linux-c6b8c779213dfe2a31e12400b1a2cf2a9a843236.tar.xz |
ASoC: tlv320aic31xx: Check clock and divider before division
If our set_sysclk DAI callback has not been called yet p_div will be 0
and dividing by this will cause an error. Print an error message and
leave before this.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/cs35l35.c')
0 files changed, 0 insertions, 0 deletions