]> git.karo-electronics.de Git - karo-tx-linux.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)
commit7c95e25e38c03a64659343ddbb64fdbb5ff2e25a
tree275adcd591096753900503169bedb894a09ce16c
parentfbdbab72969b48367dcf5f0d42112b6f78fae794
[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