mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
pinctrl: gemini: Fix usage of 3512 groups
The pin config lookup function was still hardcoding the 3516 pin set, which is obviously wrong. Use the pointer in the state container. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
6702abb3bf
commit
793b918404
1 changed files with 1 additions and 1 deletions
|
|
@ -2322,7 +2322,7 @@ static const struct gemini_pin_conf *gemini_get_pin_conf(struct gemini_pmx *pmx,
|
|||
int i;
|
||||
|
||||
for (i = 0; i < pmx->nconfs; i++) {
|
||||
retconf = &gemini_confs_3516[i];
|
||||
retconf = &pmx->confs[i];
|
||||
if (retconf->pin == pin)
|
||||
return retconf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue