From: Petr Cvek Date: Mon, 28 Sep 2015 21:40:44 +0000 (+0200) Subject: ARM: pxa: magician: Add debug message for backlight brightness function X-Git-Tag: firefly_0821_release~176^2~731^2~1^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=539122ad349af70a6780291f7c4a5d7bf17a5b59;p=firefly-linux-kernel-4.4.55.git ARM: pxa: magician: Add debug message for backlight brightness function Add a debug message for the backlight brightness function. Signed-off-by: Petr Cvek Signed-off-by: Robert Jarzmik --- 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);