Revert "ODROID-G12: Fix gpio-vbus-power bug."

This reverts commit b5a9a704ab.

Change-Id: Iccf9b43668c4adc197c082b025f3175ea3b1935f
This commit is contained in:
Chris
2021-06-25 17:38:06 +09:00
parent b5a9a704ab
commit 6899f2df14

View File

@@ -542,7 +542,7 @@ static int amlogic_new_usb3_v2_probe(struct platform_device *pdev)
#endif
gpio_name = of_get_property(dev->of_node, "gpio-vbus-power", NULL);
if (gpio_name && strlen(gpio_name) != 0) {
if (gpio_name) {
gpio_vbus_power_pin = 1;
usb_gd = gpiod_get_index(&pdev->dev,
NULL, 0, GPIOD_OUT_LOW);