linux_old1/drivers/media
Jemma Denson 270e70713b [media] cx24120: Add missing command to cx24120_check_cmd
This patch adds in a missing command to cx24120_check_cmd. This part
of the old reverse engineered driver was quite hard to follow - it's
presumed the compiler did some neat optimisation that wasn't easy to
decode. This command was checked for in that version but not copied
across to the new switch statement.

For reference, old reverse engineered code:
xxzz = cmd->id - 0x11;			// look for specific message id
if ( xxzz <= 0x13 ) {
	msg_cmd_mask = 1 << xxzz;
	//0x0F8021 // if cmd_id 17 or 22 or 33-36, 42, 47, 57-61 etc. disable mpeg output
	if ( msg_cmd_mask & 0x0F8021 ) {	// 000011111000000000100001b
		cx24120_msg_mpeg_output_global_config(state, 0);
		msleep(100);
		state->dvb_s2_mode &=  0xFD;	// reset mpeg out enable flag
	}
}

Signed-off-by: Jemma Denson <jdenson@gmail.com>
Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-18 16:35:25 -03:00
..
common [media] cx24120: i2c-max-write-size is now configurable 2015-05-18 16:32:35 -03:00
dvb-core Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
dvb-frontends [media] cx24120: Add missing command to cx24120_check_cmd 2015-05-18 16:35:25 -03:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] media: i2c: ov2659: Use v4l2_of_alloc_parse_endpoint() 2015-05-12 04:03:23 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] sta2x11: use monotonic timestamp 2015-05-18 16:27:29 -03:00
platform [media] rcar-vin: use monotonic timestamps 2015-05-18 16:27:30 -03:00
radio [media] radio: fix error return code 2015-05-01 07:02:16 -03:00
rc [media] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback 2015-05-14 14:37:03 -03:00
tuners [media] fc2580: implement V4L2 subdevice for SDR control 2015-05-18 15:58:10 -03:00
usb [media] rtl28xxu: load SDR module for fc2580 based devices 2015-05-18 15:59:35 -03:00
v4l2-core [media] v4l2-dv-timings: fix overflow in gtf timings calculation 2015-05-18 16:27:29 -03:00
Kconfig media controller: add EXPERIMENTAL to Kconfig option for DVB support 2015-05-08 14:48:49 -03:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00