• Peter Missel's avatar
    [PATCH] LifeView FlyTV Platinum FM: GPIO usage · 6c9e7376
    Peter Missel authored
    This is take two of a patch that should have appeared two days ago, before
    yesterday's "remote control" patch for the same card.
    
    This patch sets unconnected GPIO to Output to keep them from floating (just
    good driver writing practice, being nice to the chip), and uses GPIO16 to
    switch TV vs.  FM - this pin switches inputs onto the tuner, as well as the
    audio output from the tuner into the 7135 SIF input.  Consequently, FM
    radio support is being un-commented because it's now working (sort of, see
    below).
    
    These two patches get the card almost fully operational; there appears to
    be a bug in tda8290.c remaining that puts an offset onto the tuned
    frequency in FM radio mode.  We're investigating.
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    6c9e7376
saa7134-cards.c 55.6 KB