Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eed456f9 authored by Mark Brown's avatar Mark Brown
Browse files

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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent f6161aa1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -460,7 +460,8 @@ int regmap_add_irq_chip(struct regmap *map, int irq, int irq_flags,
	ret = request_threaded_irq(irq, NULL, regmap_irq_thread, irq_flags,
				   chip->name, d);
	if (ret != 0) {
		dev_err(map->dev, "Failed to request IRQ %d: %d\n", irq, ret);
		dev_err(map->dev, "Failed to request IRQ %d for %s: %d\n",
			irq, chip->name, ret);
		goto err_domain;
	}