]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx24120: Fix disecq_send_burst command
authorJemma Denson <jdenson@gmail.com>
Tue, 5 May 2015 21:33:27 +0000 (18:33 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 18 May 2015 20:44:13 +0000 (17:44 -0300)
commit93f8f10b9aeed8c67ea766fea24a7f1188ae3d27
tree275adcd591096753900503169bedb894a09ce16c
parent2585663aff85596801787080c1cca89116441398
[media] cx24120: Fix disecq_send_burst command

Previous version of this driver had a memset before every call
to cmd. This meant the default value of cmd.arg[1] was zero unless
burst is set. Make sure it remains zero.
Also fe_sec_mini_cmd_t is an enum, so test against it.

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>
drivers/media/dvb-frontends/cx24120.c