cnl: clock: Fix the referencing out of bounds clock

Signed-off-by: Tomasz Lauda <tomasz.lauda@linux.intel.com>
This commit is contained in:
Tomasz Lauda 2018-02-19 15:45:32 +01:00 committed by Liam Girdwood
parent 9d3c67e1a0
commit 0172f2bb53
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static const struct freq_table ssp_freq[] = {
{25000000, 25,}, /* default */
};
#define CPU_DEFAULT_IDX 2
#define CPU_DEFAULT_IDX 1
#define SSP_DEFAULT_IDX 1
static inline uint32_t get_freq(const struct freq_table *table, int size,