Re: [PATCH] ASoC: fsl_esai: Remove the tasklet

From: Shengjiu Wang
Date: Mon Apr 27 2020 - 02:01:46 EST


On Fri, Apr 24, 2020 at 5:17 PM Nicolin Chen <nicoleotsuka@xxxxxxxxx> wrote:
>
> On Fri, Apr 24, 2020 at 02:54:06PM +0800, Shengjiu Wang wrote:
> > Remove tasklet for it may cause the reset operation
> > can't be handled immediately, then there will be
> > endless xrun interrupt.
>
> The reset routine is really long and expensive, so not sure
> if it'd be good to do it completely inside HW ISR. Have you
> tried to clear xEIE bits to disable xrun interrupts, before
> scheduling the tasklet? If that does not solve the problem,
> we may go for this change.

Good idea, will send v2

best regards
wang shengjiu