mirror of https://gitee.com/openkylin/linux.git
pinctrl: msm: fix up out-of-order merge conflict
Commit051a58b462
"pinctrl: msm: Simplify msm_config_reg() and callers" removed the local "reg" variable in the msm_config_reg() function, but the earlier commited118a5fd9
"pinctrl-msm: Support output-{high,low} configuration" introduced a new switchclause using it. Fix this up by removing the offending register assignment. Reported-by: Kbuild test robot <fengguang.wu@intel.com> Cc: Stephen Boyd <sboyd@codeaurora.org> Acked-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
bcca9220b2
commit
17cdc926ec
|
@ -215,7 +215,6 @@ static int msm_config_reg(struct msm_pinctrl *pctrl,
|
||||||
*mask = 7;
|
*mask = 7;
|
||||||
break;
|
break;
|
||||||
case PIN_CONFIG_OUTPUT:
|
case PIN_CONFIG_OUTPUT:
|
||||||
*reg = g->ctl_reg;
|
|
||||||
*bit = g->oe_bit;
|
*bit = g->oe_bit;
|
||||||
*mask = 1;
|
*mask = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue