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

Commit 7fe93014 authored by David Lin's avatar David Lin Committed by Greg Kroah-Hartman
Browse files

greybus: arche-platform: fix incorrect gpio variable type



GPIO number obtained from of_get_named_gpio() should be signed to allow
error handling.

Testing Done:
Built & booted on EVT1.5

Signed-off-by: default avatarDavid Lin <dtwlin@google.com>
Reviewed-by: default avatarVaibhav Hiremath <vaibhav.hiremath@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 9fa3a9b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ struct arche_apb_ctrl_drvdata {
	struct regulator *vcore;
	struct regulator *vio;

	unsigned int clk_en_gpio;
	int clk_en_gpio;
	struct clk *clk;

	struct pinctrl *pinctrl;
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ struct arche_platform_drvdata {

	enum arche_platform_state state;

	unsigned int svc_refclk_req;
	int svc_refclk_req;
	struct clk *svc_ref_clk;

	struct pinctrl *pinctrl;