overlay: Continue when one of the framebuffer fd's fail to open

Change-Id: I4b1f071ebcf04a189bab612dd0d3def1a660105c
This commit is contained in:
Naseer Ahmed 2012-05-04 19:49:53 -04:00 committed by Andrew Sutherland
parent 49e5cace38
commit 3d3e9400aa

View File

@ -368,8 +368,8 @@ int overlay::initOverlay() {
LOGD("initoverlay:: opening the device:: %s", name);
fd = open(name, O_RDWR, 0);
if(fd < 0) {
LOGE("cannot open framebuffer(%d)", i);
return -1;
LOGW("cannot open framebuffer(%d)", i);
continue;
}
//Get the mixer configuration */
req.mixer_num = i;