mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
Merge e71bd07c73 on remote branch
Change-Id: I4c67d59b7ba63bd7ea021115c8a7b52f1fa251f7
This commit is contained in:
commit
d0a1683215
3 changed files with 8 additions and 3 deletions
|
|
@ -595,6 +595,11 @@ static void gsi_process_evt_re(struct gsi_evt_ctx *ctx,
|
|||
struct gsi_xfer_compl_evt *evt;
|
||||
struct gsi_chan_ctx *ch_ctx;
|
||||
|
||||
/* RMB before reading event ring shared b/w IPA h/w & driver
|
||||
* ordering between IPA h/w store and CPU load
|
||||
*/
|
||||
if (callback)
|
||||
dma_rmb();
|
||||
evt = (struct gsi_xfer_compl_evt *)(ctx->ring.base_va +
|
||||
ctx->ring.rp_local - ctx->ring.base);
|
||||
gsi_process_chan(evt, notify, callback);
|
||||
|
|
|
|||
|
|
@ -145,8 +145,8 @@ do {\
|
|||
#define IPA_CLIENT_IS_CONS(x) \
|
||||
(x < IPA_CLIENT_MAX && (x & 0x1) == 1)
|
||||
|
||||
#define IPA_GSI_CHANNEL_STOP_SLEEP_MIN_USEC (1000)
|
||||
#define IPA_GSI_CHANNEL_STOP_SLEEP_MAX_USEC (2000)
|
||||
#define IPA_GSI_CHANNEL_STOP_SLEEP_MIN_USEC (3000)
|
||||
#define IPA_GSI_CHANNEL_STOP_SLEEP_MAX_USEC (5000)
|
||||
|
||||
enum ipa_active_client_log_type {
|
||||
EP,
|
||||
|
|
|
|||
|
|
@ -1248,7 +1248,7 @@ static int ipa3_stop_ul_chan_with_data_drain(u32 qmi_req_id,
|
|||
goto exit;
|
||||
}
|
||||
/* if still stop_in_proc or not empty, activate force clear */
|
||||
if (should_force_clear) {
|
||||
if (should_force_clear && IPA_CLIENT_IS_PROD(ep->client)) {
|
||||
result = ipa3_enable_force_clear(qmi_req_id, false,
|
||||
source_pipe_bitmask);
|
||||
if (result) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue