pinctrl_select_state

The interface has the following parameters.
  • Synopsis:
    int pinctrl_select_state(struct pinctrl *p, struct pinctrl_state *state)
  • Description: The interface is used to select, activate or program a pin control state to "HW".
  • Parameter:
    • p: The pin control handle for the device that requests configuration.
    • state: The state handle to select, activate or program.
  • Return:
    • Success: 0.
    • Failure: Error code.