diff options
author | Antti Palosaari <crope@iki.fi> | 2014-07-10 20:21:59 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-14 21:07:03 -0300 |
commit | 93f726396db152ba7f60edd4c0faa096ff772318 (patch) | |
tree | 0d27676f708f280faa15d0b0efee63f5c7ee4084 /drivers/media/dvb-frontends | |
parent | e6b4380f3ef89601b1a77c327fe3aa7b5500b3f4 (diff) | |
download | op-kernel-dev-93f726396db152ba7f60edd4c0faa096ff772318.zip op-kernel-dev-93f726396db152ba7f60edd4c0faa096ff772318.tar.gz |
[media] si2168: remove duplicate command
Same command was executed twice, but different value. Remove
redundant command.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
-rw-r--r-- | drivers/media/dvb-frontends/si2168.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/media/dvb-frontends/si2168.c b/drivers/media/dvb-frontends/si2168.c index 150d866..7d0fb8f 100644 --- a/drivers/media/dvb-frontends/si2168.c +++ b/drivers/media/dvb-frontends/si2168.c @@ -334,7 +334,7 @@ static int si2168_set_frontend(struct dvb_frontend *fe) if (ret) goto err; - memcpy(cmd.args, "\x14\x00\x01\x10\x00\x00", 6); + memcpy(cmd.args, "\x14\x00\x01\x10\x16\x00", 6); cmd.wlen = 6; cmd.rlen = 1; ret = si2168_cmd_execute(s, &cmd); @@ -404,13 +404,6 @@ static int si2168_set_frontend(struct dvb_frontend *fe) if (ret) goto err; - memcpy(cmd.args, "\x14\x00\x01\x10\x16\x00", 6); - cmd.wlen = 6; - cmd.rlen = 1; - ret = si2168_cmd_execute(s, &cmd); - if (ret) - goto err; - memcpy(cmd.args, "\x14\x00\x01\x12\x00\x00", 6); cmd.wlen = 6; cmd.rlen = 1; |