ASoC: remove old trigger ordering method
[linux-2.6-block.git] / sound / soc / soc-pcm.c
index a10c928debe3ca173e4421a3d302df52c8df88c7..fd45a7433c24f900e616be23a425ac53a7203e4d 100644 (file)
@@ -1111,16 +1111,6 @@ static int soc_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
            stop  < 0 || stop  >= SND_SOC_TRIGGER_ORDER_MAX)
                return -EINVAL;
 
-       /* REMOVE ME */
-       for_each_rtd_components(rtd, i, component) {
-               if (component->driver->start_dma_last) {
-                       start = SND_SOC_TRIGGER_ORDER_LDC;
-                       break;
-               }
-       }
-       if (rtd->dai_link->stop_dma_first)
-               stop = SND_SOC_TRIGGER_ORDER_LDC;
-
        /*
         * START
         */