提交 d62f8dbb 编写于 作者: K Kim Lilliestierna XX 提交者: David S. Miller

caif_hsi: use dev_dbg not dev_err for reporting

Use dev_dbg instead of dev_err for reporting in cfhsi_wakeup_cb.
Signed-off-by: NKim Lilliestierna <kim.xx.lilliestierna@stericsson.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5f614e6b
...@@ -744,14 +744,14 @@ static void cfhsi_wake_up(struct work_struct *work) ...@@ -744,14 +744,14 @@ static void cfhsi_wake_up(struct work_struct *work)
size_t fifo_occupancy = 0; size_t fifo_occupancy = 0;
/* Wakeup timeout */ /* Wakeup timeout */
dev_err(&cfhsi->ndev->dev, "%s: Timeout.\n", dev_dbg(&cfhsi->ndev->dev, "%s: Timeout.\n",
__func__); __func__);
/* Check FIFO to check if modem has sent something. */ /* Check FIFO to check if modem has sent something. */
WARN_ON(cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev, WARN_ON(cfhsi->dev->cfhsi_fifo_occupancy(cfhsi->dev,
&fifo_occupancy)); &fifo_occupancy));
dev_err(&cfhsi->ndev->dev, "%s: Bytes in FIFO: %u.\n", dev_dbg(&cfhsi->ndev->dev, "%s: Bytes in FIFO: %u.\n",
__func__, (unsigned) fifo_occupancy); __func__, (unsigned) fifo_occupancy);
/* Check if we misssed the interrupt. */ /* Check if we misssed the interrupt. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册