All of lore.kernel.org
 help / color / mirror / Atom feed
From: Timur Tabi <timur@tabi.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
	Markus Pargmann <mpa@pengutronix.de>,
	Jiada Wang <jiada_wang@mentor.com>
Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, tiwai@suse.de,
	Li.Xiubo@freescale.com, nicoleotsuka@gmail.com,
	broonie@kernel.org, linuxppc-dev@lists.ozlabs.org,
	linux-kernel@vger.kernel.org
Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping()
Date: Mon, 01 Dec 2014 12:48:55 -0600	[thread overview]
Message-ID: <547CB817.10806@tabi.org> (raw)
In-Reply-To: <547C9C34.9080602@metafoo.de>

On 12/01/2014 10:49 AM, Lars-Peter Clausen wrote:
> The driver creates the mapping by calling irq_of_parse_and_map(), so it
> also has to dispose the mapping.

I agree with Markus, this does seem weird.  It sounds like you're saying 
that irq_of_parse_and_map() and devm_request_irq() are incompatible.  A 
quick grep shows the following drivers that call both functions:

ata/pata_mpc52xx.c
built-in.o
cpufreq/exynos5440-cpufreq.c
crypto/omap-sham.c
dma/moxart-dma.c
edac/mpc85xx_edac.c
hsi/clients/nokia-modem.c
i2c/busses/i2c-wmt.c
input/serio/apbps2.c
mmc/host/omap_hsmmc.c
mmc/host/moxart-mmc.c
mtd/nand/mpc5121_nfc.c
net/ethernet/arc/emac_main.c
net/ethernet/moxa/moxart_ether.c
pci/host/pcie-rcar.c
pinctrl/samsung/pinctrl-exynos5440.c
pinctrl/samsung/pinctrl-exynos.c
pinctrl/pinctrl-bcm2835.c
spi/spi-bcm2835.c
spi/spi-mpc512x-psc.c
staging/xillybus/xillybus_of.c
thermal/samsung/exynos_tmu.c

WARNING: multiple messages have this Message-ID (diff)
From: Timur Tabi <timur@tabi.org>
To: Lars-Peter Clausen <lars@metafoo.de>,
	Markus Pargmann <mpa@pengutronix.de>,
	Jiada Wang <jiada_wang@mentor.com>
Cc: alsa-devel@alsa-project.org, tiwai@suse.de, broonie@kernel.org,
	lgirdwood@gmail.com, linux-kernel@vger.kernel.org,
	nicoleotsuka@gmail.com, Li.Xiubo@freescale.com,
	linuxppc-dev@lists.ozlabs.org
Subject: Re: [alsa-devel] [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping()
Date: Mon, 01 Dec 2014 12:48:55 -0600	[thread overview]
Message-ID: <547CB817.10806@tabi.org> (raw)
In-Reply-To: <547C9C34.9080602@metafoo.de>

On 12/01/2014 10:49 AM, Lars-Peter Clausen wrote:
> The driver creates the mapping by calling irq_of_parse_and_map(), so it
> also has to dispose the mapping.

I agree with Markus, this does seem weird.  It sounds like you're saying 
that irq_of_parse_and_map() and devm_request_irq() are incompatible.  A 
quick grep shows the following drivers that call both functions:

ata/pata_mpc52xx.c
built-in.o
cpufreq/exynos5440-cpufreq.c
crypto/omap-sham.c
dma/moxart-dma.c
edac/mpc85xx_edac.c
hsi/clients/nokia-modem.c
i2c/busses/i2c-wmt.c
input/serio/apbps2.c
mmc/host/omap_hsmmc.c
mmc/host/moxart-mmc.c
mtd/nand/mpc5121_nfc.c
net/ethernet/arc/emac_main.c
net/ethernet/moxa/moxart_ether.c
pci/host/pcie-rcar.c
pinctrl/samsung/pinctrl-exynos5440.c
pinctrl/samsung/pinctrl-exynos.c
pinctrl/pinctrl-bcm2835.c
spi/spi-bcm2835.c
spi/spi-mpc512x-psc.c
staging/xillybus/xillybus_of.c
thermal/samsung/exynos_tmu.c

  parent reply	other threads:[~2014-12-01 18:48 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01  2:50 [PATCH] ASoC: fsl_ssi: free irq before irq_dispose_mapping() Jiada Wang
2014-12-01  2:50 ` Jiada Wang
2014-12-01  2:50 ` Jiada Wang
2014-12-01  6:50 ` Markus Pargmann
2014-12-01  6:50   ` Markus Pargmann
2014-12-01  6:50   ` Markus Pargmann
2014-12-01 16:49   ` Lars-Peter Clausen
2014-12-01 16:49     ` [alsa-devel] " Lars-Peter Clausen
2014-12-01 16:49     ` Lars-Peter Clausen
2014-12-01 16:51     ` Timur Tabi
2014-12-01 16:51       ` Timur Tabi
2014-12-01 16:59       ` Lars-Peter Clausen
2014-12-01 16:59         ` [alsa-devel] " Lars-Peter Clausen
2014-12-01 16:59         ` Lars-Peter Clausen
2014-12-01 18:48     ` Timur Tabi [this message]
2014-12-01 18:48       ` Timur Tabi
2014-12-01 19:39       ` Lars-Peter Clausen
2014-12-01 19:39         ` Lars-Peter Clausen
2014-12-01 19:41         ` Mark Brown
2014-12-01 19:41           ` Mark Brown
2014-12-01 19:56           ` Arnd Bergmann
2014-12-01 19:56             ` Arnd Bergmann
2014-12-01 19:59             ` Timur Tabi
2014-12-01 19:59               ` Timur Tabi
2014-12-01 20:01               ` Arnd Bergmann
2014-12-01 20:01                 ` Arnd Bergmann
2014-12-01 20:11                 ` Timur Tabi
2014-12-01 20:11                   ` Timur Tabi
2014-12-01 20:30                   ` Lars-Peter Clausen
2014-12-01 20:30                     ` Lars-Peter Clausen
2014-12-01 20:40                     ` Fabio Estevam
2014-12-01 20:40                       ` Fabio Estevam
2014-12-01 20:42                       ` Timur Tabi
2014-12-01 20:42                         ` Timur Tabi
2014-12-01 21:03                         ` Fabio Estevam
2014-12-01 21:03                           ` Fabio Estevam
2014-12-01 20:16                 ` Mark Brown
2014-12-01 20:16                   ` Mark Brown
2014-12-01 19:24     ` Mark Brown
2014-12-01 19:24       ` [alsa-devel] " Mark Brown
2014-12-01 19:24       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=547CB817.10806@tabi.org \
    --to=timur@tabi.org \
    --cc=Li.Xiubo@freescale.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=jiada_wang@mentor.com \
    --cc=lars@metafoo.de \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mpa@pengutronix.de \
    --cc=nicoleotsuka@gmail.com \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.