Re: [PATCH] HDA codec: Fix wanted_r/w position overflow

2023-08-17 Thread Volker RĂ¼melin
Hi, From: zeroway when the duration now - buft_start reach to some kind of value, which will get the multiply hda_bytes_per_second(st) * (now - buft_start) overflow, instead of calculate the wanted_r/wpos from start time to current time, here calculate the each timer tick delta data first in

[PATCH] HDA codec: Fix wanted_r/w position overflow

2023-08-17 Thread M_O_Bz
From: zeroway when the duration now - buft_start reach to some kind of value, which will get the multiply hda_bytes_per_second(st) * (now - buft_start) overflow, instead of calculate the wanted_r/wpos from start time to current time, here calculate the each timer tick delta data first in wanted_