Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b81d7e22 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "rpmsg: qcom_smd: allow smd create device if remote state is closing"

parents 609d8731 b5ea8f87
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/*
 * Copyright (c) 2015, Sony Mobile Communications AB.
 * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2013, 2019 The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1200,7 +1200,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)