[media] dw2102: resync fifo when demod locks
authorOlli Salonen <olli.salonen@iki.fi>
Tue, 5 May 2015 16:33:55 +0000 (13:33 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 13 May 2015 20:12:42 +0000 (17:12 -0300)
commit356484cabe44984d2dc66a90bd5e3465ba1f64fb
treedc47169ea48cc215149f13d56f1e56e6a04a7f6b
parentc636bd0bce374f3beed8a071032d807f61f0f5c4
[media] dw2102: resync fifo when demod locks

If the streaming_ctrl is called to enable TS before demod has locked
the TS will be empty. Copied the solution from the dvbsky driver for the
TechnoTrend S2-4600 device: when the state changes from unlock to
lock, call su3000_streaming_ctrl again.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/dvb-usb/dw2102.c