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

Commit 1b97be8c authored by Sachin Kamat's avatar Sachin Kamat Committed by Felipe Balbi
Browse files

usb: phy: omap-usb3: Fix return value



The function returns a pointer. Hence return NULL instead of 0.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent e1f80467
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ static struct usb_dpll_params *omap_usb3_get_dpll_params(unsigned long rate)
			return &dpll_map[i].params;
	}

	return 0;
	return NULL;
}

static int omap_usb3_suspend(struct usb_phy *x, int suspend)