diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2013-07-16 08:47:47 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-07-16 11:14:24 +0100 |
commit | 8a537f85e9db8a43b323b0ffcf358c51448491de (patch) | |
tree | 023d88e29c6f5c732d04639d2fdcbdc2383d86ea /MAINTAINERS | |
parent | 9e12cbd93232c20544d16aa33c587786a6cb726d (diff) | |
download | linux-8a537f85e9db8a43b323b0ffcf358c51448491de.tar.bz2 |
ASoC: kirkwood-i2s: fix a compilation warning
In the function kirkwood_set_rate, when the rate cannot be satisfied
by the internal nor by an external clock, the clock source in undefined:
warning: ‘clks_ctrl’ may be used uninitialized in this function
The ALSA subsystem should never gives such a rate because:
- the rates with the internal clock are limited to 44.1, 48 and 96 kHz
as specified by the kirkwood_i2s_dai structure,
- the other rates are proposed in the structure kirkwood_i2s_dai_extclk
only when the external clock is present.
In case of programming error (bad rate for internal clock and no
external clock), the function will simply cause a backtrace.
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions