Merge "pinctrl: qcom: Don't support reserved pin config access"
This commit is contained in:
commit
d17981836a
@ -350,6 +350,9 @@ static int msm_config_group_get(struct pinctrl_dev *pctldev,
|
|||||||
int ret;
|
int ret;
|
||||||
u32 val;
|
u32 val;
|
||||||
|
|
||||||
|
if (!gpiochip_line_is_valid(&msm_pinctrl_data->chip, group))
|
||||||
|
return -EINVAL;
|
||||||
|
|
||||||
g = &pctrl->soc->groups[group];
|
g = &pctrl->soc->groups[group];
|
||||||
|
|
||||||
ret = msm_config_reg(pctrl, g, param, &mask, &bit);
|
ret = msm_config_reg(pctrl, g, param, &mask, &bit);
|
||||||
|
Loading…
Reference in New Issue
Block a user