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

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

Merge "msm: ipa4: capture the unclock gsi IPA register access"

parents cc3f1b15 a85378d2
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -1383,6 +1383,16 @@ int gsi_read_channel_scratch(unsigned long chan_hdl,
int gsi_read_wdi3_channel_scratch2_reg(unsigned long chan_hdl,
		union __packed gsi_wdi3_channel_scratch2_reg *val);

/*
 * gsi_pending_irq_type - Peripheral should call this function to
 * check if there is any pending irq
 *
 * This function can sleep
 *
 * @Return gsi_irq_type
 */
int gsi_pending_irq_type(void);

/**
 * gsi_update_mhi_channel_scratch - MHI Peripheral should call this
 * function to update the scratch area of the channel context. Updating
@@ -1857,6 +1867,11 @@ static inline int gsi_read_channel_scratch(unsigned long chan_hdl,
	return -GSI_STATUS_UNSUPPORTED_OP;
}

static inline int gsi_pending_irq_type(void)
{
	return -GSI_STATUS_UNSUPPORTED_OP;
}

static inline int gsi_update_mhi_channel_scratch(unsigned long chan_hdl,
		struct __packed gsi_mhi_channel_scratch mscr)
{