projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cf208d
)
video: simple-panel: Add a little more debugging
author
Simon Glass
<
[email protected]
>
Mon, 12 Jun 2017 12:21:38 +0000
(06:21 -0600)
committer
Simon Glass
<
[email protected]
>
Tue, 11 Jul 2017 16:08:20 +0000
(10:08 -0600)
Add some debugging to show when the backlight is enabled.
Signed-off-by: Simon Glass <
[email protected]
>
Acked-by: Anatolij Gustschin <
[email protected]
>
Tested-by: Marcel Ziswiler <
[email protected]
>
Tested-on: Beaver, Jetson-TK1
drivers/video/simple_panel.c
patch
|
blob
|
history
diff --git
a/drivers/video/simple_panel.c
b/drivers/video/simple_panel.c
index baa95f6a120a0caebe63473dadc754f5a217ed55..c0ce199c6af069ad1f8cc26fc44d127d1bd4ef38 100644
(file)
--- a/
drivers/video/simple_panel.c
+++ b/
drivers/video/simple_panel.c
@@
-25,8
+25,10
@@
static int simple_panel_enable_backlight(struct udevice *dev)
struct simple_panel_priv *priv = dev_get_priv(dev);
int ret;
+ debug("%s: start, backlight = '%s'\n", __func__, priv->backlight->name);
dm_gpio_set_value(&priv->enable, 1);
ret = backlight_enable(priv->backlight);
+ debug("%s: done, ret = %d\n", __func__, ret);
if (ret)
return ret;