summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/pwm.c
diff options
context:
space:
mode:
authorpdabade <pdabade@nvidia.com>2013-12-21 22:17:53 +0530
committerMatthew Pedro <mapedro@nvidia.com>2014-01-20 08:12:52 -0800
commit8dd690482a5c78ac11bb734b8518380b5771b0bb (patch)
tree4560fdfa79ac496e4bb0d4cf1566edd9473c99ee /arch/arm/mach-tegra/pwm.c
parent82685ba23c803d10f678f25e92ca62aa575d24d9 (diff)
arch: arm: mach-tegra: Make benign warning as info
A request to set brightness to zero is valid irrespective of what previous brightness of backlight was. A request of zero brightness disables PWM; so a re-request can be made to disable a already disabled PWM. bug 1416333 Change-Id: Ia5f29911456eb5d76fa303bb9070a6f04ec97002 Signed-off-by: Pankaj Dabade <pdabade@nvidia.com> Reviewed-on: http://git-master/r/348366 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/pwm.c')
-rw-r--r--arch/arm/mach-tegra/pwm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-tegra/pwm.c b/arch/arm/mach-tegra/pwm.c
index d5533c7d3c05..f2c43e994c9f 100644
--- a/arch/arm/mach-tegra/pwm.c
+++ b/arch/arm/mach-tegra/pwm.c
@@ -3,7 +3,7 @@
*
* Tegra pulse-width-modulation controller driver
*
- * Copyright (c) 2010, NVIDIA Corporation.
+ * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved.
* Based on arch/arm/plat-mxc/pwm.c by Sascha Hauer <s.hauer@pengutronix.de>
*
* This program is free software; you can redistribute it and/or modify
@@ -131,7 +131,7 @@ void pwm_disable(struct pwm_device *pwm)
clk_disable(pwm->clk);
pwm->clk_enb = 0;
} else
- dev_warn(&pwm->pdev->dev, "%s called on disabled PWM\n",
+ dev_info(&pwm->pdev->dev, "%s called on disabled PWM\n",
__func__);
mutex_unlock(&pwm_lock);
}