diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-09 23:14:21 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 15:25:10 -0500 |
commit | 2930977ac5934540d876715fdf32b1dd6f405df5 (patch) | |
tree | aa041b42c74722538999566039d9565623648b6f /drivers/media/v4l2-core/v4l2-fh.c | |
parent | bbc62a18b6d90da702d14f0d04f67de1e37ca790 (diff) |
[media] au0828: Fix DVB resume when streaming
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: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-fh.c')
0 files changed, 0 insertions, 0 deletions