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

Commit bd17d523 authored by Ujwal Patel's avatar Ujwal Patel
Browse files

msm: mdss: debug: fix typo in error checking



Fix a typo in error checking while creating bordercolor debugfs
directory.

Change-Id: I7477f41bdf31dfbd4f9763c3612ccc3f61c5657c
Signed-off-by: default avatarUjwal Patel <ujwalp@codeaurora.org>
parent f1d461b6
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -1099,9 +1099,9 @@ int mdss_debugfs_init(struct mdss_data_type *mdata)
	}

	mdd->bordercolor = debugfs_create_dir("bordercolor", mdd->root);
	if (IS_ERR_OR_NULL(mdd->root)) {
		pr_err("debugfs_create_dir for mdp failed, error %ld\n",
		       PTR_ERR(mdd->root));
	if (IS_ERR_OR_NULL(mdd->bordercolor)) {
		pr_err("debugfs_create_dir for bordercolor failed, error %ld\n",
		       PTR_ERR(mdd->bordercolor));
		goto err;
	}