Commit 93f72639 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab

[media] si2168: remove duplicate command

Same command was executed twice, but different value. Remove
redundant command.
Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent e6b4380f
...@@ -334,7 +334,7 @@ static int si2168_set_frontend(struct dvb_frontend *fe) ...@@ -334,7 +334,7 @@ static int si2168_set_frontend(struct dvb_frontend *fe)
if (ret) if (ret)
goto err; 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.wlen = 6;
cmd.rlen = 1; cmd.rlen = 1;
ret = si2168_cmd_execute(s, &cmd); ret = si2168_cmd_execute(s, &cmd);
...@@ -404,13 +404,6 @@ static int si2168_set_frontend(struct dvb_frontend *fe) ...@@ -404,13 +404,6 @@ static int si2168_set_frontend(struct dvb_frontend *fe)
if (ret) if (ret)
goto err; 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); memcpy(cmd.args, "\x14\x00\x01\x12\x00\x00", 6);
cmd.wlen = 6; cmd.wlen = 6;
cmd.rlen = 1; cmd.rlen = 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment