• Andrew Morton's avatar
    [PATCH] dvb: Update saa7146 capture core · 7b1e171b
    Andrew Morton authored
    From: Michael Hunold <hunold@linuxtv.org>
    
    fix a bunch of race conditions and locking bugs in video and vbi capture
    code on device closure
    
    use vmalloc_32() instead of vmalloc() in saa7146_vmalloc_build_pgtable().
    this makes sure that the pagetable is in lowmem kernel memory
    
    i2c timeout fix by Gerd Knorr 
    
    SAA7146_I2C_SHORT_DELAY flag to speed up I2C access by Oliver Endriss
    
    move saa7146_set_gpio() from saa7146_vv to saa7146_core, it's needed by DVB
    budget drivers
    
    add "new" saa7146_wait_for_debi_done() function, remove other versions from
    av7110 and budget.ci
    
    make budget-ci use this gpio function and the new wait_...() function,
    
    make saa7146_pgtable_build_single() deliver a return code, make sanity
    checks of the arguments
    
    sanitize enabling of video input pins and i2c pins, use some default
    values, so the hardware is always in a sane state
    
    remove SAA7146_EXT_SWAP_ODD_EVEN flag + handling, fix the hardware
    initialization instead
    
    change minimal picture size to 48x32 just like other drivers
    
    set up arbitrition control for video dma3 correctly
    
    remove unnecessary code for capture to framebuffer memory, it's handled in
    the generic code
    7b1e171b
saa7146_vbi.c 13.6 KB