19 Feb
2014
19 Feb
'14
5:53 p.m.
On Tue, Feb 18, 2014 at 12:36:55PM +0100, Takashi Iwai wrote:
isabelle codec driver has a few places wrongly defining the number of enum items.
Applied, thanks.
Use SOC_ENUM_SINGLE_DECL() macro and they are automatically fixed.
There's also these other fixes not using that:
static const struct soc_enum isabelle_rx1_enum[] = {
- SOC_ENUM_SINGLE(ISABELLE_VOICE_HPF_CFG_REG, 3, 1, isabelle_rx1_texts),
- SOC_ENUM_SINGLE(ISABELLE_AUDIO_HPF_CFG_REG, 5, 1, isabelle_rx1_texts),
- SOC_ENUM_SINGLE(ISABELLE_VOICE_HPF_CFG_REG, 3,
ARRAY_SIZE(isabelle_rx1_texts), isabelle_rx1_texts),
- SOC_ENUM_SINGLE(ISABELLE_AUDIO_HPF_CFG_REG, 5,
ARRAY_SIZE(isabelle_rx1_texts), isabelle_rx1_texts),
but they're fine of course.