Skip to content
Commit 85a5965e authored by Takeshi Yoshimura's avatar Takeshi Yoshimura Committed by Sebastian Reichel
Browse files

wm831x_power: Fix off-by-one at free_irq()



An error handling in wm831x_power_probe() mistakenly frees a failed-to-
request irq as well as other irqs. I added missing decrement of the loop
counter.

Signed-off-by: default avatarTakeshi Yoshimura <yos@sslab.ics.keio.ac.jp>
Acked-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent 3d7f1800
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment