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

« back to all changes in this revision

Viewing changes to drivers/staging/comedi/drivers.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:
471
471
 
472
472
                async->buf_page_list =
473
473
                    vzalloc(sizeof(struct comedi_buf_page) * n_pages);
474
 
                if (async->buf_page_list) {
 
474
                if (async->buf_page_list)
475
475
                        pages = vmalloc(sizeof(struct page *) * n_pages);
476
 
                }
 
476
 
477
477
                if (pages) {
478
478
                        for (i = 0; i < n_pages; i++) {
479
479
                                if (s->async_dma_dir != DMA_NONE) {