• Mauro Carvalho Chehab's avatar
    [media] au0828: Fix DVB resume when streaming · 2930977a
    Mauro Carvalho Chehab authored
    When DVB is streaming and suspend is called, it will call
    au0828_stop_transport(), with will clean the streaming flag.
    
    Due to that, stop_urb_transfer() will be called twice,
    causing an oops.
    
    So, we need another flag to be used at resume, telling it
    to restart DVB.
    
    While here, add a logic at stop_urb_transfer() to prevent
    it of being called twice, and convert the usb_streaming
    flag into boolean.
    Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
    2930977a
au0828.h 9.13 KB