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

Commit 4a1090d4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "soc: qcom: glink_bgcom_xprt: Use single pointer for bg apis"

parents 26fc8f9b 9ce35df9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1290,7 +1290,7 @@ static int tx_data(struct glink_transport_if *if_ptr, uint16_t cmd_id,
	if (cmd.id == TRACER_PKT_CMD)
		tracer_pkt_log_event((void *)(pctx->data), GLINK_XPRT_TX);

	bgcom_resume(&einfo->bgcom_handle);
	bgcom_resume(einfo->bgcom_handle);
	bgcom_ahb_write(einfo->bgcom_handle, (uint32_t)(size_t)dst,
				ALIGN(tx_size, WORD_SIZE)/WORD_SIZE,
				data_start);
@@ -1708,7 +1708,7 @@ static int glink_bgcom_suspend(struct platform_device *pdev,
	suspend = !(einfo->activity_flag);
	spin_unlock_irqrestore(&einfo->activity_lock, flags);
	if (suspend)
		rc = bgcom_suspend(&einfo->bgcom_handle);
		rc = bgcom_suspend(einfo->bgcom_handle);
	if (rc < 0)
		GLINK_ERR("%s: Could not suspend activity_flag %d, rc %d\n",
			__func__, einfo->activity_flag, rc);