summaryrefslogtreecommitdiff
path: root/drivers/extcon
diff options
context:
space:
mode:
authorPhilip Rakity <prakity@nvidia.com>2013-04-24 15:43:35 +0100
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 13:10:58 -0700
commit49073e8cb3923fc56dd3a4fe9f7cfc443d3ff734 (patch)
treea23577445c1905a37db63758e09a7cbc90b16928 /drivers/extcon
parent462234e069ddd4179733b174af57aa4a09ddf7ae (diff)
extcon:max77765 Make resume faster - do debug messages
do not print out debug messages. use dev_dbg rather then dev_info Change-Id: I041a74fa6306eb7c72e65525c88c474d5d08c61d Signed-off-by: Philip Rakity <prakity@nvidia.com> (cherry picked from commit bcafc0db8eae7758429cb38c3f536b716ab8c671) Reviewed-on: http://git-master/r/224270 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com>
Diffstat (limited to 'drivers/extcon')
-rw-r--r--drivers/extcon/extcon-max77665.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/extcon/extcon-max77665.c b/drivers/extcon/extcon-max77665.c
index e15971c56832..7598af16ede6 100644
--- a/drivers/extcon/extcon-max77665.c
+++ b/drivers/extcon/extcon-max77665.c
@@ -1,7 +1,7 @@
/*
* extcon-max77665.c - MAX77665 extcon driver to support MAX77665 MUIC
*
- * Copyright (C) 2012 nvidia corporation
+ * Copyright (c) 2009-2013, NVIDIA CORPORATION. All rights reserved.
* Syed Rafiuddin <srafiuddin@nvidia.com>
*
* This program is free software; you can redistribute it and/or modify
@@ -96,11 +96,11 @@ static int max77660_id_cable_update(struct max77665_muic *muic)
return ret;
}
- dev_info(muic->dev, "STATUS1 = 0x%02x\n", val);
+ dev_dbg(muic->dev, "STATUS1 = 0x%02x\n", val);
if (val & 0x1F) {
extcon_set_cable_state(&muic->edev, "USB-Host", false);
- dev_info(muic->dev, "USB-Host is dis-connected\n");
+ dev_info(muic->dev, "USB-Host is disconnected\n");
} else {
extcon_set_cable_state(&muic->edev, "USB-Host", true);
dev_info(muic->dev, "USB-Host is connected\n");
@@ -120,12 +120,12 @@ static irqreturn_t max77665_muic_irq_handler(int irq, void *data)
dev_dbg(muic->dev, "MUIC_INT1 read failed %d\n", ret);
goto done;
}
- dev_info(muic->dev, "INT1 is 0x%02x\n", status);
+ dev_dbg(muic->dev, "INT1 is 0x%02x\n", status);
if (status & 0x1)
max77660_id_cable_update(muic);
else
- dev_info(muic->dev, "Unknown interrupt %d\n", irq);
+ dev_err(muic->dev, "Unknown interrupt %d\n", irq);
done:
return IRQ_HANDLED;
}