[REVERT ME] Temporary enabling of PN544 trace
authorDejan REBRACA <dejanx.rebraca@intel.com>
Thu, 24 May 2012 15:18:54 +0000 (17:18 +0200)
committerbuildbot <buildbot@intel.com>
Tue, 5 Jun 2012 17:29:42 +0000 (10:29 -0700)
BZ: 38815

Urgent request to temporary enable PN544, to facilitate
debugging of tombstones (BZ 28323).

Change-Id: I1a39738e7f896e0c268c151ec998078a529eff03
Signed-off-by: Dejan REBRACA <dejanx.rebraca@intel.com>
Signed-off-by: Ken Wahid <kenx.wahid@intel.com>
Reviewed-on: http://android.intel.com:8080/51281
Reviewed-by: Niciarz, Sebastian <sebastian.niciarz@intel.com>
Reviewed-by: Gross, Mark <mark.gross@intel.com>
Tested-by: Zurmely, PierreX <pierrex.zurmely@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
drivers/nfc/pn544.c

index 10dd04e..b9642ea 100644 (file)
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  */
+#define DEBUG
+
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/fs.h>
@@ -133,7 +135,7 @@ static ssize_t pn544_dev_read(struct file *filp, char __user *buf,
        if (count > MAX_BUFFER_SIZE)
                count = MAX_BUFFER_SIZE;
 
-       /*pr_debug("%s : reading %zu bytes.\n", __func__, count);*/
+       pr_debug("%s : reading %zu bytes.\n", __func__, count);
 
        if (!gpio_get_value(pn544_dev->irq_gpio)) {
                if (filp->f_flags & O_NONBLOCK) {