]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/isdn/mISDN/dsp_cmx.c
Merge branch 'master' into tk71
[mv-sheeva.git] / drivers / isdn / mISDN / dsp_cmx.c
index 713ef2b805a2aabec1803b6f7607f9104517fc84..309bacf1fadc4ad46d16f647cd2003d921612c57 100644 (file)
  * Disable rx-data:
  * If cmx is realized in hardware, rx data will be disabled if requested by
  * the upper layer. If dtmf decoding is done by software and enabled, rx data
- * will not be diabled but blocked to the upper layer.
+ * will not be disabled but blocked to the upper layer.
  *
  * HFC conference engine:
  * If it is possible to realize all features using hardware, hardware will be
@@ -1237,6 +1237,7 @@ dsp_cmx_receive(struct dsp *dsp, struct sk_buff *skb)
                        if (dsp->cmx_delay)
                                dsp->rx_W = (dsp->rx_R + dsp->cmx_delay)
                                        & CMX_BUFF_MASK;
+                       else
                                dsp->rx_W = (dsp->rx_R + (dsp_poll >> 1))
                                        & CMX_BUFF_MASK;
                } else {