~ubuntu-branches/ubuntu/trusty/linux-linaro-omap/trusty

« back to all changes in this revision

Viewing changes to drivers/media/video/cx88/cx88-video.c

  • Committer: Package Import Robot
  • Author(s): John Rigby, John Rigby
  • Date: 2011-09-26 10:44:23 UTC
  • Revision ID: package-import@ubuntu.com-20110926104423-57i0gl3v99b3lkfg
Tags: 3.0.0-1007.9
[ John Rigby ]

Enable crypto modules and remove crypto-modules from
exclude-module files
LP: #826021

Show diffs side-by-side

added added

removed removed

Lines of Context:
824
824
                call_all(core, tuner, s_radio);
825
825
        }
826
826
 
827
 
        atomic_inc(&core->users);
 
827
        core->users++;
828
828
        mutex_unlock(&core->lock);
829
829
 
830
830
        return 0;
922
922
        file->private_data = NULL;
923
923
        kfree(fh);
924
924
 
925
 
        if(atomic_dec_and_test(&dev->core->users))
 
925
        dev->core->users--;
 
926
        if (!dev->core->users)
926
927
                call_all(dev->core, core, s_power, 0);
927
928
        mutex_unlock(&dev->core->lock);
928
929
 
1832
1833
        dev->core = core;
1833
1834
 
1834
1835
        /* print pci info */
1835
 
        pci_read_config_byte(pci_dev, PCI_CLASS_REVISION, &dev->pci_rev);
 
1836
        dev->pci_rev = pci_dev->revision;
1836
1837
        pci_read_config_byte(pci_dev, PCI_LATENCY_TIMER,  &dev->pci_lat);
1837
1838
        printk(KERN_INFO "%s/0: found at %s, rev: %d, irq: %d, "
1838
1839
               "latency: %d, mmio: 0x%llx\n", core->name,