projects
/
GitHub
/
LineageOS
/
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:
1ec26db
)
pxafb: only initialize the smart panel thread when dealing with a smartpanel
author
Eric Miao
<eric.miao@marvell.com>
Tue, 11 Nov 2008 13:47:07 +0000
(21:47 +0800)
committer
Eric Miao
<eric.miao@marvell.com>
Tue, 11 Nov 2008 13:47:51 +0000
(21:47 +0800)
Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
drivers/video/pxafb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/pxafb.c
b/drivers/video/pxafb.c
index 64990592dc588bf3d72942a774c79f90f52b73a5..cc59c52e1103dfdd48cd161fb37a385023890b5a 100644
(file)
--- a/
drivers/video/pxafb.c
+++ b/
drivers/video/pxafb.c
@@
-804,6
+804,9
@@
static int pxafb_smart_thread(void *arg)
static int pxafb_smart_init(struct pxafb_info *fbi)
{
+ if (!(fbi->lccr0 | LCCR0_LCDT))
+ return 0;
+
fbi->smart_thread = kthread_run(pxafb_smart_thread, fbi,
"lcd_refresh");
if (IS_ERR(fbi->smart_thread)) {