OSDN Git Service

Merge 80d3699c: gralloc: Fix division-by-0 during system emulation.
authorDavid 'Digit' Turner <digit@google.com>
Sat, 15 Jan 2011 20:06:12 +0000 (21:06 +0100)
committerXavier Ducrohet <xav@android.com>
Sun, 16 Jan 2011 22:42:39 +0000 (14:42 -0800)
commit3d05f9cfbd996f52c0bd6307a80beaabc4e58140
tree421ed9012dfbcdbc463f52b13c3c835023df7ea3
parent158549c89405186d9ecaefd3811cfae3949056ee
Merge 80d3699c: gralloc: Fix division-by-0 during system emulation.

This patch avoids a division-by-0 when the system is running
under emulation (the kernel driver reports pixclock as 0, for
some reason). Which results in a SIGFPE during the boot sequence.

Change-Id: Ia9febdf143dcbce9837ca89c641e95dce3a888bb
modules/gralloc/framebuffer.cpp