regmap-irq: Correct error paths in regmap_irq_thread for pm_runtime
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Mon, 12 Aug 2019 09:24:09 +0000 (10:24 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 12 Aug 2019 13:03:20 +0000 (14:03 +0100)
commitfba5b1e9ab527bd46bc529370d52a7b2b552dce1
tree35bed6c9aa1f8d9655c9b505d34df9869cbd420f
parent5f9e832c137075045d15cd6899ab0505cfb2ca4b
regmap-irq: Correct error paths in regmap_irq_thread for pm_runtime

Some error paths in regmap_irq_thread put the pm_runtime others do not,
there is no reason to leave the pm_runtime enabled in some cases so
update those paths to also put the pm_runtime.

Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20190812092409.21593-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/base/regmap/regmap-irq.c