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

This commit is contained in:
qctecmdr 2020-04-21 20:21:58 -07:00 • committed by Gerrit - the friendly Code Review server
commit 7e1ab36b47

View file

@ -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)
{