[alsa-devel] [PATCH v2 1/2] ASoC: cs47l15: Add codec driver for Cirrus Logic CS47L15
Mark Brown
broonie at kernel.org
Thu Jul 25 14:47:33 CEST 2019
On Thu, Jul 25, 2019 at 01:31:51PM +0100, Charles Keepax wrote:
> select SND_SOC_CS47L24 if MFD_CS47L24
> + select SND_SOC_CS47L15 if MFD_CS47L15
> select SND_SOC_CS47L35 if MFD_CS47L35
The Makefile and Kconfig sorting is a bit off. Please send a followup
fixing this.
> +static irqreturn_t cs47l15_adsp2_irq(int irq, void *data)
> +{
> + struct cs47l15 *cs47l15 = data;
> + struct madera_priv *priv = &cs47l15->core;
> + struct madera *madera = priv->madera;
> + int ret;
> +
> + ret = wm_adsp_compr_handle_irq(&priv->adsp[0]);
> + if (ret == -ENODEV) {
> + dev_err(madera->dev, "Spurious compressed data IRQ\n");
> + return IRQ_NONE;
> + }
> +
> + return IRQ_HANDLED;
> +}
> +
> +static irqreturn_t cs47l15_dsp_bus_error(int irq, void *data)
> +{
> + struct wm_adsp *dsp = (struct wm_adsp *)data;
> +
> + return wm_adsp2_bus_error(dsp);
> +}
Noticeable difference in pattern between these two interrupt helpers
(and makes me wonder why we need the wrappers at all).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20190725/cc0c0874/attachment.sig>
More information about the Alsa-devel
mailing list