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

Commit 55d55ae4 authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge 8aa0d102 on remote branch

Change-Id: I18e5285d03e1a848405c9b2d61f81d1985cf0e3d
parents d1d5b44a 8aa0d102
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4057,7 +4057,7 @@ int gsi_poll_n_channel(unsigned long chan_hdl,
		/* update rp to see of we have anything new to process */
		rp = ctx->evtr->props.gsi_read_event_ring_rp(
			&ctx->evtr->props, ctx->evtr->id, ee);
		rp |= ctx->ring.rp & 0xFFFFFFFF00000000ULL;
		rp |= ctx->evtr->ring.rp & 0xFFFFFFFF00000000ULL;

		ctx->evtr->ring.rp = rp;
		/* read gsi event ring rp again if last read is empty */
@@ -4069,7 +4069,7 @@ int gsi_poll_n_channel(unsigned long chan_hdl,
			__iowmb();
			rp = ctx->evtr->props.gsi_read_event_ring_rp(
				&ctx->evtr->props, ctx->evtr->id, ee);
			rp |= ctx->ring.rp & 0xFFFFFFFF00000000ULL;
			rp |= ctx->evtr->ring.rp & 0xFFFFFFFF00000000ULL;
			ctx->evtr->ring.rp = rp;
			if (rp == ctx->evtr->ring.rp_local) {
				spin_unlock_irqrestore(
+1 −0
Original line number Diff line number Diff line
@@ -9660,6 +9660,7 @@ static void ipa3_deepsleep_suspend(void)
	/*Disabling IPA interrupt*/
	ipa3_remove_interrupt_handler(IPA_TX_SUSPEND_IRQ);
	ipa3_interrupts_destroy(ipa3_res.ipa_irq, &ipa3_ctx->master_pdev->dev);
	ipa3_uc_interface_destroy();
	/*Destroy the NAT device*/
	ipa3_nat_ipv6ct_destroy_devices();
	/*Freeing memory allocated for coalesing and dma task*/
+1 −0
Original line number Diff line number Diff line
@@ -2978,6 +2978,7 @@ int ipa3_uc_send_cmd(u32 cmd, u32 opcode, u32 expected_status,
void ipa3_uc_register_handlers(enum ipa3_hw_features feature,
			      struct ipa3_uc_hdlrs *hdlrs);
int ipa3_uc_notify_clk_state(bool enabled);
void ipa3_uc_interface_destroy(void);
int ipa3_dma_setup(void);
void ipa3_dma_shutdown(void);
void ipa3_dma_async_memcpy_notify_cb(void *priv,
+3 −1
Original line number Diff line number Diff line
@@ -454,6 +454,8 @@ int ipa3_remove_interrupt_handler(enum ipa_irq_type interrupt)
		return -EFAULT;
	}

	/*If free ipa3_ctx pointer causing device crash during remove interrupt*/
	if(ipa_interrupt_to_cb[irq_num].private_data != ipa3_ctx)
		kfree(ipa_interrupt_to_cb[irq_num].private_data);
	ipa_interrupt_to_cb[irq_num].deferred_flag = false;
	ipa_interrupt_to_cb[irq_num].handler = NULL;