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

Commit 56d4e4fd authored by Neeti Desai's avatar Neeti Desai
Browse files

msm: ocmem: Do not return error when debugfs is disabled



The ocmem driver probe fails, when debugfs is disabled,
as it cannot create a debugfs root node. Do not return
and error, so that ocmem driver can function even when
debugfs is disabled

CRs-Fixed: 548301
Change-Id: I9dca715e9317d481b0dee1c7275c86a10e3cdce1
Signed-off-by: default avatarNeeti Desai <neetid@codeaurora.org>
parent cc8945b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -836,7 +836,7 @@ static int msm_ocmem_probe(struct platform_device *pdev)
		return -EBUSY;

	if (ocmem_debugfs_init(pdev))
		return -EBUSY;
		dev_err(dev, "ocmem: No debugfs node available\n");

	if (ocmem_core_init(pdev))
		return -EBUSY;