[Sound-open-firmware] [PATCH] Fix the referencing out of bounds clock
![](https://secure.gravatar.com/avatar/2c9c7d6edac73dd61c94ce6af3f46e6d.jpg?s=120&d=mm&r=g)
--- src/platform/cannonlake/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/platform/cannonlake/clk.c b/src/platform/cannonlake/clk.c index bcce20d..3a16c1a 100644 --- a/src/platform/cannonlake/clk.c +++ b/src/platform/cannonlake/clk.c @@ -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,
![](https://secure.gravatar.com/avatar/5b98a3601e269482d0241a1f3e60b06d.jpg?s=120&d=mm&r=g)
Hi Tomasz,
On 19.02.2018 16:45, Tomasz Lauda wrote:
src/platform/cannonlake/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/platform/cannonlake/clk.c b/src/platform/cannonlake/clk.c index bcce20d..3a16c1a 100644 --- a/src/platform/cannonlake/clk.c +++ b/src/platform/cannonlake/clk.c @@ -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,
I'm not a maintainer, but I think you should signoff your patches to get them applied. You get the credit for your contribution via those!
Thanks, Seppo
participants (3)
-
Liam Girdwood
-
Seppo Ingalsuo
-
Tomasz Lauda