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

Commit 667cc1df authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "devfreq: bw_mon: check for the return value of start_monitor"

parents 65ea258f c31ad38c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -609,7 +609,8 @@ static int gov_start(struct devfreq *df)
	node->orig_data = df->data;
	df->data = node;

	if (start_monitor(df, true))
	ret = start_monitor(df, true);
	if (ret)
		goto err_start;

	ret = sysfs_create_group(&df->dev.kobj, node->attr_grp);