~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to drivers/dma/coh901318.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
529
529
        val = readl(virtbase + COH901318_CX_CFG +
530
530
                    COH901318_CX_CFG_SPACING * channel);
531
531
 
532
 
        /* Stopping infinit transfer */
 
532
        /* Stopping infinite transfer */
533
533
        if ((val & COH901318_CX_CTRL_TC_ENABLE) == 0 &&
534
534
            (val & COH901318_CX_CFG_CH_ENABLE))
535
535
                cohc->stopped = 1;
849
849
 
850
850
                                /* Must clear TC interrupt before calling
851
851
                                 * dma_tc_handle
852
 
                                 * in case tc_handle initate a new dma job
 
852
                                 * in case tc_handle initiate a new dma job
853
853
                                 */
854
854
                                __set_bit(i, virtbase + COH901318_TC_INT_CLEAR1);
855
855
 
894
894
                                }
895
895
                                /* Must clear TC interrupt before calling
896
896
                                 * dma_tc_handle
897
 
                                 * in case tc_handle initate a new dma job
 
897
                                 * in case tc_handle initiate a new dma job
898
898
                                 */
899
899
                                __set_bit(i, virtbase + COH901318_TC_INT_CLEAR2);
900
900
 
1610
1610
{
1611
1611
        return platform_driver_probe(&coh901318_driver, coh901318_probe);
1612
1612
}
1613
 
arch_initcall(coh901318_init);
 
1613
subsys_initcall(coh901318_init);
1614
1614
 
1615
1615
void __exit coh901318_exit(void)
1616
1616
{