• M
    V4L/DVB (6329): Additional Fixes for saa7134 suspend/resume · c458473e
    Maxim Levitsky 提交于
    Fixes few more problems I found in my saa7134 resume code:
    
    * Race between IRQ handler and .suspend()/.resume() functions
    
    * Removes timeout timers on active buffers - those
    	buffers will be recaptured after resume
    
    * Adds suspend/resume for IR code - probably
    	necessary if using polling mode
    
    * Adds #ifdef CONFIG_PM overs suspend code
    
    * Runs  a quirk in set_tvnorm in suspend/resume too
    
    * Rearranges the order of calls in saa7134_resume to
    	be exactly as in saa7134_initdev thus the card is
    	initialized in exactly the same way
    
    * Since DMA audio capture suspend/resume isn't yet supported,
    	avoid re-enabling it on resume for now
    Signed-off-by: NMaxim Levitsky <maximlevitsky@gmail.com>
    Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
    c458473e
saa7134.h 23.3 KB