diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-11-10 14:49:30 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-11-10 14:58:31 -0500 |
commit | 8c2727f97b4825adaad43bf98632abc9940345a4 (patch) | |
tree | 02e8f3184509ab8566876290c9cc20d689265821 | |
parent | f114040e3ea6e07372334ade75d1ee0775c355e1 (diff) |
ASoC: mxs: mxs-saif: Register the irq with the device name
Instead of registering the irq name with the driver name, it's better to pass
the device name so that we have a more explicit indication as to what saif
instance the irq is related:
$ cat /proc/interrupts
CPU0
...
214: 4 - 59 80042000.saif
215: 0 - 58 80046000.saif
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/mxs/mxs-saif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/mxs/mxs-saif.c b/sound/soc/mxs/mxs-saif.c index 231d7e7b0711..83b2fea09219 100644 --- a/sound/soc/mxs/mxs-saif.c +++ b/sound/soc/mxs/mxs-saif.c | |||
@@ -773,7 +773,7 @@ static int mxs_saif_probe(struct platform_device *pdev) | |||
773 | 773 | ||
774 | saif->dev = &pdev->dev; | 774 | saif->dev = &pdev->dev; |
775 | ret = devm_request_irq(&pdev->dev, saif->irq, mxs_saif_irq, 0, | 775 | ret = devm_request_irq(&pdev->dev, saif->irq, mxs_saif_irq, 0, |
776 | "mxs-saif", saif); | 776 | dev_name(&pdev->dev), saif); |
777 | if (ret) { | 777 | if (ret) { |
778 | dev_err(&pdev->dev, "failed to request irq\n"); | 778 | dev_err(&pdev->dev, "failed to request irq\n"); |
779 | return ret; | 779 | return ret; |