aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-16 02:52:53 +0000
committercodeworkx <codeworkx@cyanogenmod.org>2013-02-16 02:52:53 +0000
commitd19547a5b4bf019b90ec5674a7693c2927c530d2 (patch)
treedf0ce4e3f95da43d57b81dd918a41f01b7009979
parentd2bf3b1b3fd61860ce5a061af39aaf156b0e1525 (diff)
downloadkernel_samsung_espresso10-d19547a5b4bf019b90ec5674a7693c2927c530d2.tar.gz
kernel_samsung_espresso10-d19547a5b4bf019b90ec5674a7693c2927c530d2.tar.bz2
kernel_samsung_espresso10-d19547a5b4bf019b90ec5674a7693c2927c530d2.zip
modem_if: stop the spam
Change-Id: I0542ab7f26d717feaca28a18ea882533a94fe3eb
-rw-r--r--drivers/misc/modem_if/modem_link_device_mipi.c4
-rw-r--r--drivers/misc/modem_if_v2/modem_link_device_mipi.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/misc/modem_if/modem_link_device_mipi.c b/drivers/misc/modem_if/modem_link_device_mipi.c
index 2c0e7136d88..e2199db80d6 100644
--- a/drivers/misc/modem_if/modem_link_device_mipi.c
+++ b/drivers/misc/modem_if/modem_link_device_mipi.c
@@ -238,6 +238,7 @@ static void mipi_hsi_tx_work(struct work_struct *work)
} else {
pr_debug("[MIPI-HSI] write Done\n");
+#if 0
if ((iod->format == IPC_FMT) ||
(iod->format == IPC_RFS))
print_hex_dump(KERN_DEBUG,
@@ -249,6 +250,7 @@ static void mipi_hsi_tx_work(struct work_struct *work)
fmt_skb->len <= 16 ?
(size_t)fmt_skb->len :
(size_t)16, false);
+#endif
}
dev_kfree_skb_any(fmt_skb);
@@ -1633,6 +1635,7 @@ static void if_hsi_read_done(struct hsi_device *dev, unsigned int size)
return;
}
+#if 0
if ((iod->format == IPC_FMT) ||
(iod->format == IPC_RFS))
print_hex_dump(KERN_DEBUG,
@@ -1644,6 +1647,7 @@ static void if_hsi_read_done(struct hsi_device *dev, unsigned int size)
channel->packet_size <= 16 ?
(size_t)channel->packet_size :
(size_t)16, false);
+#endif
channel->packet_size = 0;
ch = channel->channel_id;
diff --git a/drivers/misc/modem_if_v2/modem_link_device_mipi.c b/drivers/misc/modem_if_v2/modem_link_device_mipi.c
index 59bc233b931..37ca3333331 100644
--- a/drivers/misc/modem_if_v2/modem_link_device_mipi.c
+++ b/drivers/misc/modem_if_v2/modem_link_device_mipi.c
@@ -231,6 +231,7 @@ static void mipi_hsi_tx_work(struct work_struct *work)
} else {
mipi_debug("write Done\n");
+#if 0
if ((iod->format == IPC_FMT) ||
(iod->format == IPC_RFS))
print_hex_dump(KERN_DEBUG,
@@ -242,6 +243,7 @@ static void mipi_hsi_tx_work(struct work_struct *work)
fmt_skb->len <= 16 ?
(size_t)fmt_skb->len :
(size_t)16, false);
+#endif
}
dev_kfree_skb_any(fmt_skb);
@@ -1563,6 +1565,7 @@ static void if_hsi_read_done(struct hsi_device *dev, unsigned int size)
return;
}
+#if 0
if ((iod->format == IPC_FMT) ||
(iod->format == IPC_RFS))
print_hex_dump(KERN_DEBUG,
@@ -1574,6 +1577,7 @@ static void if_hsi_read_done(struct hsi_device *dev, unsigned int size)
channel->packet_size <= 16 ?
(size_t)channel->packet_size :
(size_t)16, false);
+#endif
channel->packet_size = 0;