Merge "soc: qcom: smd: Fix SMD packet sync loss issue"

This commit is contained in:
Linux Build Service Account 2014-12-02 17:40:12 -08:00 committed by Gerrit - the friendly Code Review server
commit ada36df269

View file

@ -1356,7 +1356,6 @@ static void smd_state_change(struct smd_channel *ch,
case SMD_SS_CLOSED:
if (ch->half_ch->get_state(ch->send) == SMD_SS_OPENED) {
ch_set_state(ch, SMD_SS_CLOSING);
ch->current_packet = 0;
ch->pending_pkt_sz = 0;
ch->notify(ch->priv, SMD_EVENT_CLOSE);
}