projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8ba1c1
)
ARM: pxa: magician: Add debug message for backlight brightness function
author
Petr Cvek
<petr.cvek@tul.cz>
Mon, 28 Sep 2015 21:40:44 +0000
(23:40 +0200)
committer
Robert Jarzmik
<robert.jarzmik@free.fr>
Wed, 14 Oct 2015 21:06:59 +0000
(23:06 +0200)
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>
arch/arm/mach-pxa/magician.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-pxa/magician.c
b/arch/arm/mach-pxa/magician.c
index 8929ba588bc980d4d32efcb54cbf2504a8d023ee..c32d760f81003fbf02dfe018f0dba1c63c7ac113 100644
(file)
--- 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);