msm: adsprpc: cleanup ADSP rh memory during hibernation
During hibernation suspend, we pass null fl, allow ADSP remoteheap memory cleanup in this case. Change-Id: I42b80ded3955f9d5200cb77114a476a69f5353d5 Signed-off-by: nishant chaubey <quic_chaubey@quicinc.com>
Este commit está contenido en:
@@ -4728,8 +4728,9 @@ static int fastrpc_mmap_remove_ssr(struct fastrpc_file *fl, int locked)
|
||||
match = NULL;
|
||||
spin_lock_irqsave(&me->hlock, irq_flags);
|
||||
hlist_for_each_entry_safe(map, n, &me->maps, hn) {
|
||||
if (map->servloc_name && fl &&
|
||||
fl->servloc_name && !strcmp(map->servloc_name, fl->servloc_name)) {
|
||||
/* In hibernation suspend case fl is NULL, check !fl to cleanup */
|
||||
if (!fl || (fl && map->servloc_name && fl->servloc_name
|
||||
&& !strcmp(map->servloc_name, fl->servloc_name))) {
|
||||
match = map;
|
||||
if (map->is_persistent && map->in_use) {
|
||||
int destVM[1] = {VMID_HLOS};
|
||||
|
Referencia en una nueva incidencia
Block a user