From: Gianluca Gennari Date: Tue, 3 Jan 2012 16:47:35 +0000 (-0300) Subject: [media] af9013: Fix typo in get_frontend() function X-Git-Tag: v3.3-rc1~48^2~61 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6a2329ad1cb80b158a75bbf1901b86dc2deb88ee;p=platform%2Fkernel%2Flinux-stable.git [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: Gianluca Gennari Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/dvb/frontends/af9013.c b/drivers/media/dvb/frontends/af9013.c index d4227c6..d5a9544 100644 --- a/drivers/media/dvb/frontends/af9013.c +++ b/drivers/media/dvb/frontends/af9013.c @@ -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; }