spcom: move some messages to debug

cleanup, avoid printing messages on normal behavior.

Change-Id: I9258ae9a0db8028f8bec88c1d56a59c86377f366
Signed-off-by: Amir Samuelov <amirs@codeaurora.org>
This commit is contained in:
Amir Samuelov 2016-08-18 12:48:56 +03:00 committed by Gerrit - the friendly Code Review server
parent 008f057bba
commit 8b156ca84f

View file

@ -1773,7 +1773,7 @@ static int spcom_handle_read_req_resp(struct spcom_channel *ch,
if (ch->is_server) {
ch->txn_id = hdr->txn_id;
pr_err("request txn_id [0x%x].\n", ch->txn_id);
pr_debug("request txn_id [0x%x].\n", ch->txn_id);
}
/* copy data to user without the header */
@ -2135,7 +2135,7 @@ static unsigned int spcom_device_poll(struct file *filp,
}
if (ready < 0) { /* wait was interrupted */
pr_err("ch [%s] poll interrupted, ret [%d].\n", name, ready);
pr_debug("ch [%s] poll interrupted, ret [%d].\n", name, ready);
ret = POLLERR | SPCOM_POLL_READY_FLAG | mask;
}
if (done)
@ -2264,7 +2264,7 @@ static int __init spcom_register_chardev(void)
goto exit_destroy_device;
}
pr_info("char device created.\n");
pr_debug("char device created.\n");
return 0;