mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
Merge "rpmsg: qcom_smd: allow smd create device if remote state is closing"
This commit is contained in:
commit
7347dcaedb
1 changed files with 3 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
// SPDX-License-Identifier: GPL-2.0
|
||||
/*
|
||||
* Copyright (c) 2015, Sony Mobile Communications AB.
|
||||
* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2012-2013, 2020 The Linux Foundation. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <linux/interrupt.h>
|
||||
|
|
@ -1274,7 +1274,8 @@ static void qcom_channel_state_worker(struct work_struct *work)
|
|||
|
||||
remote_state = GET_RX_CHANNEL_INFO(channel, state);
|
||||
if (remote_state != SMD_CHANNEL_OPENING &&
|
||||
remote_state != SMD_CHANNEL_OPENED)
|
||||
remote_state != SMD_CHANNEL_OPENED &&
|
||||
remote_state != SMD_CHANNEL_CLOSING)
|
||||
continue;
|
||||
|
||||
if (channel->registered)
|
||||
|
|
|
|||
Loading…
Reference in a new issue