Re: [PATCH v3 2/3] ASoC: enable interrupt after dma buffer initialization

From: Mark Brown
Date: Thu Sep 13 2018 - 07:31:41 EST


On Wed, Sep 12, 2018 at 01:44:41PM -0600, Yu Zhao wrote:
> In snd_hdac_bus_init_chip(), we enable interrupt before
> snd_hdac_bus_init_cmd_io() initializing dma buffers. If irq has
> been acquired and irq handler uses the dma buffer, kernel may crash
> when interrupt comes in.

> ---
> sound/hda/hdac_controller.c | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)

This is an ALSA commit, not an ASoC one.

Attachment: signature.asc
Description: PGP signature