summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8804.c
diff options
context:
space:
mode:
authorAndrew F. Davis <afd@ti.com>2017-11-30 00:32:52 +0300
committerMark Brown <broonie@kernel.org>2017-12-01 16:30:48 +0300
commitc6b8c779213dfe2a31e12400b1a2cf2a9a843236 (patch)
treef6dacb02ecd5d6f7a3febe182e38fd22844c513a /sound/soc/codecs/wm8804.c
parentb6b247cd5e37560e410c88b108e7408dafe60c15 (diff)
downloadlinux-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/wm8804.c')
0 files changed, 0 insertions, 0 deletions