提交 992bb253 编写于 作者: J Jiri Slaby 提交者: Samuel Ortiz

mfd: sm501, fix lock imbalance

Add omitted unlock in sm501_unit_power.
Signed-off-by: NJiri Slaby <jirislaby@gmail.com>
Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
上级 7c5371c4
...@@ -367,7 +367,8 @@ int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to) ...@@ -367,7 +367,8 @@ int sm501_unit_power(struct device *dev, unsigned int unit, unsigned int to)
break; break;
default: default:
return -1; gate = -1;
goto already;
} }
writel(mode, sm->regs + SM501_POWER_MODE_CONTROL); writel(mode, sm->regs + SM501_POWER_MODE_CONTROL);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册