Commit 6a2329ad authored by Gianluca Gennari's avatar Gianluca Gennari Committed by Mauro Carvalho Chehab

[media] af9013: Fix typo in get_frontend() function

This patch fixes an obvious typo in the get_frontend() function
of the af9013 driver, recently rewritten by Antti Palosaari.
Signed-off-by: default avatarGianluca Gennari <gennarone@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 28334295
......@@ -880,16 +880,16 @@ static int af9013_get_frontend(struct dvb_frontend *fe)
switch ((buf[0] >> 2) & 3) {
case 0:
c->transmission_mode = GUARD_INTERVAL_1_32;
c->guard_interval = GUARD_INTERVAL_1_32;
break;
case 1:
c->transmission_mode = GUARD_INTERVAL_1_16;
c->guard_interval = GUARD_INTERVAL_1_16;
break;
case 2:
c->transmission_mode = GUARD_INTERVAL_1_8;
c->guard_interval = GUARD_INTERVAL_1_8;
break;
case 3:
c->transmission_mode = GUARD_INTERVAL_1_4;
c->guard_interval = GUARD_INTERVAL_1_4;
break;
}
......
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