Heiner Kallweit fa07ab72cb genirq: Release resources in __setup_irq() error path
In case __irq_set_trigger() fails the resources requested via
irq_request_resources() are not released.

Add the missing release call into the error handling path.

Fixes: c1bacbae8192 ("genirq: Provide irq_request/release_resources chip callbacks")
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: http://lkml.kernel.org/r/655538f5-cb20-a892-ff15-fbd2dd1fa4ec@gmail.com
2017-06-13 00:40:39 +02:00
..
2017-05-12 15:57:15 -07:00
2015-11-19 17:51:48 +01:00
2017-01-12 07:01:56 -07:00
2015-11-23 09:44:58 +01:00
2017-05-08 17:15:12 -07:00
2017-04-21 20:30:46 +08:00
2016-03-01 20:36:56 +01:00
2016-12-22 22:58:37 -05:00