Commit 992bb253 authored by Jiri Slaby's avatar Jiri Slaby Committed by Samuel Ortiz

mfd: sm501, fix lock imbalance

Add omitted unlock in sm501_unit_power.
Signed-off-by: default avatarJiri Slaby <jirislaby@gmail.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 7c5371c4
......@@ -367,7 +367,8 @@ int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to)
break;
default:
return -1;
gate = -1;
goto already;
}
writel(mode, sm->regs + SM501_POWER_MODE_CONTROL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment