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:
YangYi 2022-10-10 16:39:27 +08:00 • committed by Xiaojun Ji
commit f536ebe9fc
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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;