mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
pxafb: only initialize the smart panel thread when dealing with a smartpanel
Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Eric Miao <[email protected]>
This commit is contained in:
parent
1ec26db1f8
commit
6cc4abe43e
1 changed files with 3 additions and 0 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue