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
Dieser Commit ist enthalten in:
Edgar Flores
2023-08-10 16:44:12 -07:00
committet von Gerrit - the friendly Code Review server
Ursprung 02257e15e3
Commit b0308ca14e

Datei anzeigen

@@ -8834,7 +8834,12 @@ static int __init fastrpc_device_init(void)
VERIFY(err, !IS_ERR(me->class));
if (err)
goto class_create_bail;
#if IS_ENABLED(CONFIG_MSM_ADSPRPC_TRUSTED)
me->compat = 1;
#else
me->compat = (fops.compat_ioctl == NULL) ? 0 : 1;
#endif
/*
* Create devices and register with sysfs