pinctrl: palmas: do not abort pin configuration for BIAS_DEFAULT
authorLaxman Dewangan <ldewangan@nvidia.com>
Thu, 26 Sep 2013 12:48:03 +0000 (18:18 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 27 Sep 2013 14:22:43 +0000 (16:22 +0200)
Recent movement of all configurations of pin in the single call of
pin_config_set(), it is aborting configuration if BIAS_PULL_PIN_DEFAULT
is selected as return of configuration.

The original idea was to just avoid any update on register for pull up/down
configuration if this option is selected.

Fixing this by just bypassing any register update for BIAS_PULL_PIN_DEFAULT
and continuing the remaining configuration.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found