diff --git a/arch/arm/mach-rk2818/board-raho.c b/arch/arm/mach-rk2818/board-raho.c old mode 100644 new mode 100755 index 4a594cb3ec75..c11ab16033c6 --- a/arch/arm/mach-rk2818/board-raho.c +++ b/arch/arm/mach-rk2818/board-raho.c @@ -1262,7 +1262,8 @@ static int spi_io_init(struct spi_cs_gpio *cs_gpios, int cs_num) } printk("[fun:%s, line:%d], gpio request err\n", __func__, __LINE__); return -1; - } + } + gpio_direction_output(cs_gpios[i].cs_gpio, GPIO_HIGH); } } return 0;