Skip to contentSkip to conversation

ASoC: Is there a missing entry in wm5100_bclk_rates_dat array?

DISCUSSION Axel Lin 1 participant 1 message Sep 22, 2011

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

Hi Mark,
I just found the size of wm5100_bclk_rates_dat array is 19, but there are only 18 entries initialized in current code. I'm not sure if there is a missing entry in wm5100_bclk_rates_dat array or not. Could you help to check it again?

#define WM5100_NUM_BCLK_RATES 19

static int wm5100_bclk_rates_dat[WM5100_NUM_BCLK_RATES] = {
        32000,
        48000,
        64000,
        96000,
        128000,
        192000,
        384000,
        512000,
        768000,
        1024000,
        1536000,
        2048000,
        3072000,
        4096000,
        6144000,
        8192000,
        12288000,
        24576000,
};

Thanks,
Axel