Loading drivers/rpmsg/qcom_glink_native.c +5 −1 Original line number Diff line number Diff line /* * Copyright (c) 2016-2017, Linaro Ltd * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-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 Loading Loading @@ -1388,6 +1388,10 @@ static void qcom_glink_destroy_ept(struct rpmsg_endpoint *ept) unsigned long flags; spin_lock_irqsave(&channel->recv_lock, flags); if (!channel->ept.cb) { spin_unlock_irqrestore(&channel->recv_lock, flags); return; } channel->ept.cb = NULL; spin_unlock_irqrestore(&channel->recv_lock, flags); Loading Loading
drivers/rpmsg/qcom_glink_native.c +5 −1 Original line number Diff line number Diff line /* * Copyright (c) 2016-2017, Linaro Ltd * Copyright (c) 2018, The Linux Foundation. All rights reserved. * Copyright (c) 2018-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 Loading Loading @@ -1388,6 +1388,10 @@ static void qcom_glink_destroy_ept(struct rpmsg_endpoint *ept) unsigned long flags; spin_lock_irqsave(&channel->recv_lock, flags); if (!channel->ept.cb) { spin_unlock_irqrestore(&channel->recv_lock, flags); return; } channel->ept.cb = NULL; spin_unlock_irqrestore(&channel->recv_lock, flags); Loading