OSDN Git Service

ASoC: meson: fix do_div warning in spdifin
authorJerome Brunet <jbrunet@baylibre.com>
Thu, 13 Dec 2018 15:44:28 +0000 (16:44 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 13 Dec 2018 16:20:28 +0000 (16:20 +0000)
commit165be3c260f88a5f8c55d89458ad1f1d9efd701f
tree41ede151a6a64b37ad910fd46ba4b66dd2e67e6c
parentf231c34ca9772f0b0e2d1b781e9c415847aff522
ASoC: meson: fix do_div warning in spdifin

Even if this spdif input driver is only supposed to be used on 64bits
platform, there is possible problem with 32bits and do_div, as reported
by the kbuild robot. Just fix it.

Fixes: 5ce5658375e6 ("ASoC: meson: add axg spdif input")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/meson/axg-spdifin.c