Skip to content

Commit

Permalink
pxafb: only initialize the smart panel thread when dealing with a sma…
Browse files Browse the repository at this point in the history
…rtpanel

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
  • Loading branch information
Eric Miao committed Nov 11, 2008
1 parent 1ec26db commit 6cc4abe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 6cc4abe

Please sign in to comment.