From: Olli Salonen Date: Thu, 17 Jul 2014 18:43:27 +0000 (-0300) Subject: [media] si2168: improve scanning performance X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=43911776faf04599f48732403959d510bde03815;p=linux-beck.git [media] si2168: improve scanning performance Improve scanning performance by setting property 0301 with a value from Windows driver. Signed-off-by: Olli Salonen Signed-off-by: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 50751890c2e1..303a441a05a9 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -325,6 +325,13 @@ static int si2168_set_frontend(struct dvb_frontend *fe) if (ret) goto err; + memcpy(cmd.args, "\x14\x00\x01\x03\x0c\x00", 6); + cmd.wlen = 6; + cmd.rlen = 4; + ret = si2168_cmd_execute(s, &cmd); + if (ret) + goto err; + memcpy(cmd.args, "\x85", 1); cmd.wlen = 1; cmd.rlen = 1;