summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/magician.c
diff options
context:
space:
mode:
authorPetr Cvek <petr.cvek@tul.cz>2015-09-28 23:40:44 +0200
committerRobert Jarzmik <robert.jarzmik@free.fr>2015-10-14 23:06:59 +0200
commit539122ad349af70a6780291f7c4a5d7bf17a5b59 (patch)
treec46c4b210df2c6fae1954e6444a72ef6fd17d1dc /arch/arm/mach-pxa/magician.c
parentd8ba1c17fb639b060f1b036ec510421e0ad322d4 (diff)
downloadlinux-539122ad349af70a6780291f7c4a5d7bf17a5b59.tar.bz2
ARM: pxa: magician: Add debug message for backlight brightness function
Add a debug message for the backlight brightness function. Signed-off-by: Petr Cvek <petr.cvek@tul.cz> Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Diffstat (limited to 'arch/arm/mach-pxa/magician.c')
-rw-r--r--arch/arm/mach-pxa/magician.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c
index 8929ba588bc9..c32d760f8100 100644
--- a/arch/arm/mach-pxa/magician.c
+++ b/arch/arm/mach-pxa/magician.c
@@ -358,6 +358,7 @@ static int magician_backlight_init(struct device *dev)
static int magician_backlight_notify(struct device *dev, int brightness)
{
+ pr_debug("Brightness = %i\n", brightness);
gpio_set_value(EGPIO_MAGICIAN_BL_POWER, brightness);
if (brightness >= 200) {
gpio_set_value(EGPIO_MAGICIAN_BL_POWER2, 1);