Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1234535 > unrolled thread

[PATCH v4 24/26] ARM: pxa: magician: Add debug message for backlight brightness function

Started byPetr Cvek <petr.cvek@tul.cz>
First post2015-09-28 23:50 +0200
Last post2015-09-28 23:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH v4 24/26] ARM: pxa: magician: Add debug message for backlight  brightness function Petr Cvek <petr.cvek@tul.cz> - 2015-09-28 23:50 +0200

#1234535 — [PATCH v4 24/26] ARM: pxa: magician: Add debug message for backlight brightness function

FromPetr Cvek <petr.cvek@tul.cz>
Date2015-09-28 23:50 +0200
Subject[PATCH v4 24/26] ARM: pxa: magician: Add debug message for backlight brightness function
Message-ID<qdOt4-3rn-5@gated-at.bofh.it>
Add a debug message for the backlight brightness function.

Signed-off-by: Petr Cvek <petr.cvek@tul.cz>
---
 arch/arm/mach-pxa/magician.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-pxa/magician.c b/arch/arm/mach-pxa/magician.c
index c89f2a8..5de33c6 100644
--- a/arch/arm/mach-pxa/magician.c
+++ b/arch/arm/mach-pxa/magician.c
@@ -437,6 +437,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);
-- 
1.7.12.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web