linux/drivers/media
Daniel Scheller bd2355b8ef media: dvb-frontends/cxd2841er: do sleep on delivery system change
Discovered using w_scan when scanning DVB-T/T2: When w_scan goes from -T
to -T2, it does so without stopping the frontend using .sleep. Due to
this, the demod operation mode isn't re-setup, but as it still is in
STATE_ACTIVE_TC, PLP and T2 Profile are set up, but only retune_active()
is called, leaving the demod in T mode, thus not operable on any T2
frequency.

Fix this by putting the demod to sleep if priv->system isn't equal to
p->delsys. To properly accomplish this, sleep_tc() is split into
sleep_tc() and shutdown_tc(), where sleep_tc() will only perform the
sleep operation, while shutdown_tc() additionally performs the full
demod shutdown (to keep the behaviour when the .sleep FE_OP is called).

Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-07-20 15:06:45 -04:00
..
cec media: cec: drop senseless message 2017-07-18 13:00:26 -03:00
common media: saa7146: constify i2c_algorithm structure 2017-07-20 14:55:14 -04:00
dvb-core Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
dvb-frontends media: dvb-frontends/cxd2841er: do sleep on delivery system change 2017-07-20 15:06:45 -04:00
firewire [media] firewire: don't break long lines 2016-10-21 10:06:00 -02:00
i2c media: adv7180: add missing adv7180cp, adv7180st i2c device IDs 2017-07-20 06:54:04 -04:00
mmc
pci media: media/dvb: earth-pt3: fix hang-up in a rare case 2017-07-20 15:01:30 -04:00
platform media: marvell-ccic: constify i2c_algorithm structure 2017-07-20 14:55:41 -04:00
radio Linux v4.13-rc1 2017-07-17 11:17:36 -03:00
rc [media] rc-core: cleanup rc_register_device pt2 2017-06-13 13:55:01 -03:00
spi [media] gs1662: drop kfree for memory allocated with devm_kzalloc 2016-10-24 17:59:08 -02:00
tuners media: fc001[23]: make const gain table arrays static 2017-07-19 15:12:39 -04:00
usb media: staging: fbtft: make const array gamma_par_mask static 2017-07-20 15:06:08 -04:00
v4l2-core media: v4l: Add support for CSI-1 and CCP2 busses 2017-07-19 15:34:59 -04:00
Kconfig media: cec-pin: add low-level pin hardware support 2017-07-18 12:57:18 -03:00
Makefile [media] cec: select CEC_CORE instead of depend on it 2017-06-04 15:23:33 -03:00
media-device.c [media] media: Rename graph and pipeline structs and functions 2017-01-27 16:13:24 -02:00
media-devnode.c media: utilize new cdev_device_add helper function 2017-03-21 06:44:33 +01:00
media-entity.c [media] media: entity: Catch unbalanced media_pipeline_stop calls 2017-06-23 09:23:36 -03:00