mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
Penang: fix for device suspend tests fail. [1/2]
Penang: Fix for device suspend tests fail. qcom cr number: 3243388, 3208991. Change-Id: Idedf1825a3237cd85cf463ec459f6d5a31662c8d Signed-off-by: YangYi <yangyi31@motorola.com> Reviewed-on: https://gerrit.mot.com/2400062 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Yuchang Guo <guoyc1@lenovo.com> Reviewed-by: Jiacheng Ou <oujc1@motorola.com> Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com> Submit-Approved: Jira Key
This commit is contained in:
parent
42d17b3910
commit
f536ebe9fc
2 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-2.0-only
|
||||
/* Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. */
|
||||
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved. */
|
||||
|
||||
#include <linux/module.h>
|
||||
#include <linux/skbuff.h>
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ unsigned int qrtr_get_service_id(unsigned int node_id, unsigned int port_id)
|
|||
struct qrtr_node *node;
|
||||
unsigned long index;
|
||||
|
||||
node = node_get(node_id);
|
||||
node = xa_load(&nodes, node_id);
|
||||
if (!node)
|
||||
return 0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue