adsprpc: tvm: Forcing compatibility flag to true for TVM
Setting flag to true in TVM to force TVM driver to use APIs adsp_process_group_mmap64 and adsp_process_group_munmap64 instead of adsp_process_group_mmap and adsp_process_group_munmap. Change-Id: Ibbeb7f4177f11e75b1150e011090347219f04806
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
02257e15e3
commit
b0308ca14e
@@ -8834,7 +8834,12 @@ static int __init fastrpc_device_init(void)
|
|||||||
VERIFY(err, !IS_ERR(me->class));
|
VERIFY(err, !IS_ERR(me->class));
|
||||||
if (err)
|
if (err)
|
||||||
goto class_create_bail;
|
goto class_create_bail;
|
||||||
|
|
||||||
|
#if IS_ENABLED(CONFIG_MSM_ADSPRPC_TRUSTED)
|
||||||
|
me->compat = 1;
|
||||||
|
#else
|
||||||
me->compat = (fops.compat_ioctl == NULL) ? 0 : 1;
|
me->compat = (fops.compat_ioctl == NULL) ? 0 : 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Create devices and register with sysfs
|
* Create devices and register with sysfs
|
||||||
|
Reference in New Issue
Block a user