msm: bam_dmux: remove eot flag when polling
Removing the eot flag from the rx connection options fully disables
callbacks. This is desirable for polling mode.
Change-Id: I96a6d55cc2b992d73ef6f4685f180e9877554b33
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
diff --git a/arch/arm/mach-msm/bam_dmux.c b/arch/arm/mach-msm/bam_dmux.c
index fc188ed..7f65aaa 100644
--- a/arch/arm/mach-msm/bam_dmux.c
+++ b/arch/arm/mach-msm/bam_dmux.c
@@ -845,15 +845,7 @@
" not disabled\n", __func__);
break;
}
- rx_register_event.options = 0;
- ret = sps_register_event(bam_rx_pipe,
- &rx_register_event);
- if (ret) {
- pr_err("%s: sps_register_event ret = %d\n",
- __func__, ret);
- break;
- }
- cur_rx_conn.options = SPS_O_AUTO_ENABLE | SPS_O_EOT |
+ cur_rx_conn.options = SPS_O_AUTO_ENABLE |
SPS_O_ACK_TRANSFERS | SPS_O_POLL;
ret = sps_set_config(bam_rx_pipe, &cur_rx_conn);
if (ret) {