Loading drivers/platform/msm/gsi/gsi.c +4 −2 Original line number Diff line number Diff line Loading @@ -172,7 +172,8 @@ static void gsi_channel_state_change_wait(unsigned long chan_hdl, } if (op == GSI_CH_START) { if (curr_state == GSI_CHAN_STATE_STARTED) { if (curr_state == GSI_CHAN_STATE_STARTED || curr_state == GSI_CHAN_STATE_FLOW_CONTROL) { ctx->state = curr_state; return; } Loading Loading @@ -2981,7 +2982,8 @@ int gsi_start_channel(unsigned long chan_hdl) ctx, GSI_START_CMD_TIMEOUT_MS, op); if (ctx->state != GSI_CHAN_STATE_STARTED) { if (ctx->state != GSI_CHAN_STATE_STARTED && ctx->state != GSI_CHAN_STATE_FLOW_CONTROL) { /* * Hardware returned unexpected status, unexpected * hardware state. Loading drivers/platform/msm/gsi/gsi.h +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ enum gsi_chan_state { GSI_CHAN_STATE_STARTED = 0x2, GSI_CHAN_STATE_STOPPED = 0x3, GSI_CHAN_STATE_STOP_IN_PROC = 0x4, GSI_CHAN_STATE_FLOW_CONTROL = 0x5, GSI_CHAN_STATE_ERROR = 0xf }; Loading Loading
drivers/platform/msm/gsi/gsi.c +4 −2 Original line number Diff line number Diff line Loading @@ -172,7 +172,8 @@ static void gsi_channel_state_change_wait(unsigned long chan_hdl, } if (op == GSI_CH_START) { if (curr_state == GSI_CHAN_STATE_STARTED) { if (curr_state == GSI_CHAN_STATE_STARTED || curr_state == GSI_CHAN_STATE_FLOW_CONTROL) { ctx->state = curr_state; return; } Loading Loading @@ -2981,7 +2982,8 @@ int gsi_start_channel(unsigned long chan_hdl) ctx, GSI_START_CMD_TIMEOUT_MS, op); if (ctx->state != GSI_CHAN_STATE_STARTED) { if (ctx->state != GSI_CHAN_STATE_STARTED && ctx->state != GSI_CHAN_STATE_FLOW_CONTROL) { /* * Hardware returned unexpected status, unexpected * hardware state. Loading
drivers/platform/msm/gsi/gsi.h +1 −0 Original line number Diff line number Diff line Loading @@ -87,6 +87,7 @@ enum gsi_chan_state { GSI_CHAN_STATE_STARTED = 0x2, GSI_CHAN_STATE_STOPPED = 0x3, GSI_CHAN_STATE_STOP_IN_PROC = 0x4, GSI_CHAN_STATE_FLOW_CONTROL = 0x5, GSI_CHAN_STATE_ERROR = 0xf }; Loading