*/
 void omap_mcbsp_set_tx_threshold(struct omap_mcbsp *mcbsp, u16 threshold)
 {
-       if (mcbsp->pdata->buffer_size == 0)
-               return;
-
        if (threshold && threshold <= mcbsp->max_tx_thres)
                MCBSP_WRITE(mcbsp, THRSH2, threshold - 1);
 }
  */
 void omap_mcbsp_set_rx_threshold(struct omap_mcbsp *mcbsp, u16 threshold)
 {
-       if (mcbsp->pdata->buffer_size == 0)
-               return;
-
        if (threshold && threshold <= mcbsp->max_rx_thres)
                MCBSP_WRITE(mcbsp, THRSH1, threshold - 1);
 }
 {
        u16 buffstat;
 
-       if (mcbsp->pdata->buffer_size == 0)
-               return 0;
-
        /* Returns the number of free locations in the buffer */
        buffstat = MCBSP_READ(mcbsp, XBUFFSTAT);
 
 {
        u16 buffstat, threshold;
 
-       if (mcbsp->pdata->buffer_size == 0)
-               return 0;
-
        /* Returns the number of used locations in the buffer */
        buffstat = MCBSP_READ(mcbsp, RBUFFSTAT);
        /* RX threshold */
 
        struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(cpu_dai);
        int words;
 
+       /* No need to proceed further if McBSP does not have FIFO */
+       if (mcbsp->pdata->buffer_size == 0)
+               return;
+
        /*
         * Configure McBSP threshold based on either:
         * packet_size, when the sDMA is in packet mode, or based on the
        u16 fifo_use;
        snd_pcm_sframes_t delay;
 
+       /* No need to proceed further if McBSP does not have FIFO */
+       if (mcbsp->pdata->buffer_size == 0)
+               return 0;
+
        if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
                fifo_use = omap_mcbsp_get_tx_delay(mcbsp);
        else