[Sound-open-firmware] [PATCH] Fix timer on CNL.
Keyon Jie
yang.jie at linux.intel.com
Fri Mar 9 09:32:25 CET 2018
On 2018年03月09日 15:27, yan.wang at linux.intel.com wrote:
> From: Yan Wang <yan.wang at linux.intel.com>
>
> Work queue cannot work rightly because it uses wrong timer setting.
> Based on Keyon's comments, use SSP CLK intead of CPU CLK.
> It is confirmed on my CNL platform.
>
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
Acked.
Thanks,
~Keyon
> ---
> src/platform/cannonlake/platform.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/platform/cannonlake/platform.c b/src/platform/cannonlake/platform.c
> index c49dcb8..c9449ed 100644
> --- a/src/platform/cannonlake/platform.c
> +++ b/src/platform/cannonlake/platform.c
> @@ -129,8 +129,8 @@ static struct work_queue_timesource platform_generic_queue = {
> .id = TIMER3, /* external timer */
> .irq = IRQ_EXT_TSTAMP0_LVL2(0),
> },
> - .clk = CLK_CPU,
> - .notifier = NOTIFIER_ID_CPU_FREQ,
> + .clk = CLK_SSP,
> + .notifier = NOTIFIER_ID_SSP_FREQ,
> .timer_set = platform_timer_set,
> .timer_clear = platform_timer_clear,
> .timer_get = platform_timer_get,
>
More information about the Sound-open-firmware
mailing list