Skip to content
Snippets Groups Projects
Commit 313ff58e authored by Vladimir Barinov's avatar Vladimir Barinov Committed by Nobuhiro Iwamatsu
Browse files

arm: rmobile: silk: Fix GPIO4_31 initialization


Use gpio_direction_output instead of gpio_set_value
since the latter does not set output GPIO direction.

Signed-off-by: default avatarValentine Barshak <valentine.barshak+renesas@cogentembedded.com>
Signed-off-by: default avatarVladimir Barinov <vladimir.barinov+renesas@cogentembedded.com>
Signed-off-by: default avatarNobuhiro Iwamatsu <iwamatsu@nigauri.org>
parent 60c0467a
No related branches found
No related tags found
No related merge requests found
...@@ -136,7 +136,7 @@ int board_mmc_init(bd_t *bis) ...@@ -136,7 +136,7 @@ int board_mmc_init(bd_t *bis)
#ifdef CONFIG_SH_MMCIF #ifdef CONFIG_SH_MMCIF
/* MMC0 */ /* MMC0 */
gpio_request(GPIO_GP_4_31, NULL); gpio_request(GPIO_GP_4_31, NULL);
gpio_set_value(GPIO_GP_4_31, 1); gpio_direction_output(GPIO_GP_4_31, 1);
ret = mmcif_mmc_init(); ret = mmcif_mmc_init();
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment