ionalloc: Fix typo.

*Not sure if this is a typo, or had used this flag previously, but
  needs to be O_SYNC now.

Change-Id: I665aa2436009fcc735c1ffb9e0ab4bde79c5163d
This commit is contained in:
andrew.boren 2012-06-03 11:22:25 -07:00
parent 0fefc37909
commit ac6e239175

View File

@ -85,7 +85,7 @@ int IonAlloc::alloc_buffer(alloc_data& data)
if(data.uncached) {
// Use the sync FD to alloc and map
// when we need uncached memory
ionSyncFd = open(ION_DEVICE, O_RDONLY|O_DSYNC);
ionSyncFd = open(ION_DEVICE, O_RDONLY|O_SYNC);
if(ionSyncFd < 0) {
LOGE("%s: Failed to open ion device - %s",
__FUNCTION__, strerror(errno));