imx8m_som.c : disable the haptic motor before turning on power_en

parent 18dd577b
......@@ -288,13 +288,13 @@ int power_init_board(void)
gpio_request(IMU_INT, "imu_int");
gpio_direction_input(IMU_INT);
gpio_request(PWR_EN, "pwr_en");
gpio_direction_output(PWR_EN, 1);
/* disable the haptic motor */
gpio_request(HAPTIC_nEN, "haptic_en");
gpio_direction_output(HAPTIC_nEN, 1);
gpio_request(PWR_EN, "pwr_en");
gpio_direction_output(PWR_EN, 1);
udelay(500);
rv = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment