Hi Yongbo

Thank you for the patch

> SSI BUSIF buffer is possible to overflow or underflow, especially in a
> hypervisor environment. If there is no interrupt support, it will eventually
> lead to errors in pcm data.
> This patch adds overflow and underflow interrupt support for SSI BUSIF buffer.
> 
> Cc: Kuninori Morimoto <kuninori.morimoto...@renesas.com>
> Reported-by: Chen Li <licheng0...@thundersoft.com>
> Signed-off-by: Yongbo Zhang <giraffesnn...@gmail.com>
> Tested-by: Chen Li <licheng0...@thundersoft.com>
> ---
(snip)
> @@ -635,6 +713,19 @@ static int rsnd_ssi_irq(struct rsnd_mod *mod,
>       if (enable)
>               val = rsnd_ssi_is_dma_mode(mod) ? 0x0e000000 : 0x0f000000;
>  
> +     if (is_tdm || is_tdm_split) {
> +             switch (id) {
> +             case 0:
> +             case 1:
> +             case 2:
> +             case 3:
> +             case 4:
> +             case 9:
> +                     val |= 0xff00;
> +                     break;
> +             }
> +     }

This is small things, but we like to have
        - val |= 0xff00;
        + val |= 0x0000ff00;

Except above

        Acked-by: Kuninori Morimoto <kuninori.morimoto...@renesas.com>

Thank you for your help !!

Best regards
---
Kuninori Morimoto

Reply via email to