Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

regmap: irq: Clarify error message when we fail to request primary IRQ

Display the name for the chip rather than just the primary IRQ so it is
clearer what exactly has failed.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

+2 -1
+2 -1
drivers/base/regmap/regmap-irq.c
··· 460 460 ret = request_threaded_irq(irq, NULL, regmap_irq_thread, irq_flags, 461 461 chip->name, d); 462 462 if (ret != 0) { 463 - dev_err(map->dev, "Failed to request IRQ %d: %d\n", irq, ret); 463 + dev_err(map->dev, "Failed to request IRQ %d for %s: %d\n", 464 + irq, chip->name, ret); 464 465 goto err_domain; 465 466 } 466 467