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

Commit 46922186 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman
Browse files

mei: use cl_dbg where appropriate



use cl_dbg for debug log messages in cl context

this also removes checkpatch warning:
quoted string split across lines

Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d63b3095
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -329,8 +329,7 @@ int mei_hbm_cl_flow_control_req(struct mei_device *dev, struct mei_cl *cl)
	mei_hbm_hdr(mei_hdr, len);
	mei_hbm_hdr(mei_hdr, len);
	mei_hbm_cl_hdr(cl, MEI_FLOW_CONTROL_CMD, dev->wr_msg.data, len);
	mei_hbm_cl_hdr(cl, MEI_FLOW_CONTROL_CMD, dev->wr_msg.data, len);


	dev_dbg(&dev->pdev->dev, "sending flow control host client = %d, ME client = %d\n",
	cl_dbg(dev, cl, "sending flow control\n");
		cl->host_client_id, cl->me_client_id);


	return mei_write_message(dev, mei_hdr, dev->wr_msg.data);
	return mei_write_message(dev, mei_hdr, dev->wr_msg.data);
}
}
+2 −8
Original line number Original line Diff line number Diff line
@@ -125,17 +125,11 @@ static int mei_release(struct inode *inode, struct file *file)
	}
	}
	if (cl->state == MEI_FILE_CONNECTED) {
	if (cl->state == MEI_FILE_CONNECTED) {
		cl->state = MEI_FILE_DISCONNECTING;
		cl->state = MEI_FILE_DISCONNECTING;
		dev_dbg(&dev->pdev->dev,
		cl_dbg(dev, cl, "disconnecting\n");
			"disconnecting client host client = %d, "
		    "ME client = %d\n",
		    cl->host_client_id,
		    cl->me_client_id);
		rets = mei_cl_disconnect(cl);
		rets = mei_cl_disconnect(cl);
	}
	}
	mei_cl_flush_queues(cl);
	mei_cl_flush_queues(cl);
	dev_dbg(&dev->pdev->dev, "remove client host client = %d, ME client = %d\n",
	cl_dbg(dev, cl, "removing\n");
	    cl->host_client_id,
	    cl->me_client_id);


	mei_cl_unlink(cl);
	mei_cl_unlink(cl);