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

« back to all changes in this revision

Viewing changes to drivers/media/common/tuners/tda18271-common.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:
533
533
        if (tda_fail(ret))
534
534
                goto fail;
535
535
 
536
 
        regs[R_MPD]   = (0x77 & pd);
537
 
 
538
 
        switch (priv->mode) {
539
 
        case TDA18271_ANALOG:
540
 
                regs[R_MPD]  &= ~0x08;
541
 
                break;
542
 
        case TDA18271_DIGITAL:
543
 
                regs[R_MPD]  |=  0x08;
544
 
                break;
545
 
        }
 
536
        regs[R_MPD]   = (0x7f & pd);
546
537
 
547
538
        div =  ((d * (freq / 1000)) << 7) / 125;
548
539