On Sun, Feb 12, 2023 at 10:44:28PM +0200, Oded Gabbay wrote:
> @@ -3178,11 +3181,12 @@ static int ts_buff_get_kernel_ts_record(struct 
> hl_mmap_mem_buf *buf,
>  
>                       /* irq handling in the middle give it time to finish */
>                       spin_unlock_irqrestore(wait_list_lock, flags);
> -                     usleep_range(1, 10);
> +                     usleep_range(100, 1000);
>                       if (++iter_counter == MAX_TS_ITER_NUM) {
>                               dev_err(buf->mmg->dev,
> -                                     "handling registration interrupt took 
> too long!!\n");
> -                             return -EINVAL;
> +                                     "Timestamp offest processing reached 
> timeout of %lld ms\n",

Typo in offest, you can use './scripts/checkpatch.pl --codespell'
to coughs some of those.

Regards
Stanislaw

Reply via email to