• Jose Abreu's avatar
    ASoC: dwc: Add helper functions to disable/enable irqs · b1d32feb
    Jose Abreu authored
    Helper functions to disable and enable the I2S interrupts were
    added. Only the interrupts of the used channels are enabled.
    
    Also, there is no need to enable irqs at dw_i2s_config(), they
    are already enabled at startup.
    Signed-off-by: default avatarJose Abreu <joabreu@synopsys.com>
    Cc: Carlos Palminha <palminha@synopsys.com>
    Cc: Mark Brown <broonie@kernel.org>
    Cc: Liam Girdwood <lgirdwood@gmail.com>
    Cc: Jaroslav Kysela <perex@perex.cz>
    Cc: Takashi Iwai <tiwai@suse.com>
    Cc: Rob Herring <robh@kernel.org>
    Cc: Alexey Brodkin <abrodkin@synopsys.com>
    Cc: linux-snps-arc@lists.infradead.org
    Cc: alsa-devel@alsa-project.org
    Cc: devicetree@vger.kernel.org
    Cc: linux-kernel@vger.kernel.org
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    b1d32feb
designware_i2s.c 19.4 KB