Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1524a9c4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: phy-msm: Fix hub_reset_gpio configuration during bootup"

parents 3d0a3d61 57905cba
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4784,7 +4784,7 @@ static int msm_otg_probe(struct platform_device *pdev)
			 * for device mode In this case HUB should be gone
			 * only once out of reset at the boot time and after
			 * that always stay on*/
			if (gpio_is_valid(motg->pdata->hub_reset_gpio))
			if (gpio_is_valid(motg->pdata->hub_reset_gpio)) {
				ret = devm_gpio_request(&pdev->dev,
						motg->pdata->hub_reset_gpio,
						"qcom,hub-reset-gpio");
@@ -4794,6 +4794,7 @@ static int msm_otg_probe(struct platform_device *pdev)
				}
				gpio_direction_output(
					motg->pdata->hub_reset_gpio, 1);
			}

			if (gpio_is_valid(motg->pdata->switch_sel_gpio)) {
				ret = devm_gpio_request(&pdev->dev,