upstream: [media] au8522: be sure that the setup will happen at streamon time
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 8 Jun 2014 16:54:52 +0000 (13:54 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:32:07 +0000 (14:32 +0900)
commitd29ce3df4911a05e02b951f7be821bef621e8ad8
treef8dfa34dd572ba35c284cb9945ec638cf3e06f3e
parentcb52136b2520d17c0f36085b3eb2e0b3b5ec9f7d
upstream: [media] au8522: be sure that the setup will happen at streamon time

The same demod is used on both analog and digital mode. We should
not let the commands for analog mode to happen while the device
is in digital mode. So, monitor it via streamon.

Backports http://git.linuxtv.org/cgit.cgi/media_tree.git/commit/?id=38fe3510fa8f
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/dvb-frontends/au8522_decoder.c
drivers/media/dvb-frontends/au8522_priv.h