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

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

Merge "fbdev: msm: Avoid race condition while iommu mapping from DSI flow"

parents a1da5933 b46f4717
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2013-2018, 2020, The Linux Foundation. All rights reserved. */
/* Copyright (c) 2013-2018, 2020-2021, The Linux Foundation. All rights reserved. */

#include <linux/workqueue.h>
#include <linux/delay.h>
@@ -151,7 +151,9 @@ void mdss_check_dsi_ctrl_status(struct work_struct *work, uint32_t interval)
	MDSS_XLOG(mipi->mode);

	mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_ON);
	mutex_lock(&pstatus_data->mfd->sd_lock);
	ret = ctrl_pdata->check_status(ctrl_pdata);
	mutex_unlock(&pstatus_data->mfd->sd_lock);
	mdss_mdp_clk_ctrl(MDP_BLOCK_POWER_OFF);

	mutex_unlock(&ctl->offlock);