On Tue, Jan 15, 2013 at 04:35:46AM +, Kim, Milo wrote:
> +/**
> + * Balance enable_count of each GPIO and actual GPIO pin control.
> + * GPIO is enabled in case of initial use. (enable_count is 0)
> + * GPIO is disabled when it is not shared any more. (enable_count is 1)
> + */
> +static void
To support shared enable GPIO pin, replace GPIO code with new static functions
regulator_ena_gpio_ctrl()
Find a GPIO information in the enable GPIO list and control the pin.
_do_ena_gpio_ctrl()
Balance the reference count of each GPIO and actual pin control.
The count is incremented w
2 matches
Mail list logo