Loading drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -3560,10 +3560,8 @@ static void ipa_gsi_irq_rx_notify_cb(struct gsi_chan_xfer_notify *notify) IPADBG_LOW("event %d notified\n", notify->evt_id); IPADBG_LOW("event %d notified\n", notify->evt_id); sys = (struct ipa3_sys_context *)notify->chan_user_data; sys = (struct ipa3_sys_context *)notify->chan_user_data; spin_lock(&sys->spinlock); rx_pkt_expected = list_first_entry(&sys->head_desc_list, rx_pkt_expected = list_first_entry(&sys->head_desc_list, struct ipa3_rx_pkt_wrapper, link); struct ipa3_rx_pkt_wrapper, link); spin_unlock(&sys->spinlock); rx_pkt_rcvd = (struct ipa3_rx_pkt_wrapper *)notify->xfer_user_data; rx_pkt_rcvd = (struct ipa3_rx_pkt_wrapper *)notify->xfer_user_data; if (rx_pkt_expected != rx_pkt_rcvd) { if (rx_pkt_expected != rx_pkt_rcvd) { Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +0 −2 Original line number Original line Diff line number Diff line Loading @@ -3560,10 +3560,8 @@ static void ipa_gsi_irq_rx_notify_cb(struct gsi_chan_xfer_notify *notify) IPADBG_LOW("event %d notified\n", notify->evt_id); IPADBG_LOW("event %d notified\n", notify->evt_id); sys = (struct ipa3_sys_context *)notify->chan_user_data; sys = (struct ipa3_sys_context *)notify->chan_user_data; spin_lock(&sys->spinlock); rx_pkt_expected = list_first_entry(&sys->head_desc_list, rx_pkt_expected = list_first_entry(&sys->head_desc_list, struct ipa3_rx_pkt_wrapper, link); struct ipa3_rx_pkt_wrapper, link); spin_unlock(&sys->spinlock); rx_pkt_rcvd = (struct ipa3_rx_pkt_wrapper *)notify->xfer_user_data; rx_pkt_rcvd = (struct ipa3_rx_pkt_wrapper *)notify->xfer_user_data; if (rx_pkt_expected != rx_pkt_rcvd) { if (rx_pkt_expected != rx_pkt_rcvd) { Loading