Re: [PATCH v6] pinctrl: add a pin config interface

From: Linus Walleij
Date: Mon Dec 12 2011 - 19:22:50 EST


On Mon, Dec 12, 2011 at 7:19 AM, Haojian Zhuang
<haojian.zhuang@xxxxxxxxx> wrote:

> You mentioned that pin_config_set() is used in below.
> ret = pin_config_set(dev, "FOO_GPIO_PIN", PLATFORM_X_PULL_UP);
>
> struct pinctrl_dev is created while pinmux is registered. I think this
> structure is always internal structure. It can't be observed by
> platform driver or device driver.

True. Was fixed today by a patch from Stephen Warren that
simply cuts out the middleman and use the original platform
device directly. Kudos to Stephen for fixing this!

Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/