mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
imx233: normalise pinctrl names
The current pinctrl functions were a mess. Normalise the functions names to make them shorter and clearer. Change-Id: Iac6ff84625ef2b7610268e3a5802dc0088de3167
This commit is contained in:
parent
abb7d1dcfe
commit
918a06a12a
18 changed files with 281 additions and 281 deletions
|
|
@ -120,10 +120,10 @@ void power_off(void)
|
|||
sleep(HZ / 2);
|
||||
#ifdef SANSA_FUZEPLUS
|
||||
/* This pin seems to be important to shutdown the hardware properly */
|
||||
imx233_pinctrl_acquire_pin(0, 9, "power off");
|
||||
imx233_set_pin_function(0, 9, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_enable_gpio_output(0, 9, true);
|
||||
imx233_set_gpio_output(0, 9, true);
|
||||
imx233_pinctrl_acquire(0, 9, "power off");
|
||||
imx233_pinctrl_set_function(0, 9, PINCTRL_FUNCTION_GPIO);
|
||||
imx233_pinctrl_enable_gpio(0, 9, true);
|
||||
imx233_pinctrl_set_gpio(0, 9, true);
|
||||
#endif
|
||||
/* power down */
|
||||
HW_POWER_RESET = BM_OR2(POWER_RESET, UNLOCK, PWD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue