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

Commit 26f3eb1a authored by Naman Padhiar's avatar Naman Padhiar Committed by Gerrit - the friendly Code Review server
Browse files

icnss2: Add proper debug logs



Add proper debug logs to print return value of subsytem_get.

Change-Id: I5e210e7b32fe35ecf9688a84776385ba6e382df8
Signed-off-by: default avatarNaman Padhiar <npadhiar@codeaurora.org>
parent 1cda180c
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -3352,9 +3352,12 @@ static void icnss_wpss_load(struct work_struct *wpss_load_work)
{
	struct icnss_priv *priv = icnss_get_plat_priv();

	icnss_pr_dbg("Start WPSS Boot\n");

	priv->subsys = subsystem_get("wpss");
	if (IS_ERR_OR_NULL(priv->subsys))
		icnss_pr_err("Failed to load wpss subsys");
		icnss_pr_err("Failed to load wpss subsys, ret: %d",
			     PTR_ERR(priv->subsys));
}

static inline void icnss_wpss_unload(struct icnss_priv *priv)