From: Gianluca Gennari Date: Tue, 3 Jan 2012 16:47:35 +0000 (-0300) Subject: [media] af9013: Fix typo in get_frontend() function X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6a2329ad1cb80b158a75bbf1901b86dc2deb88ee;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 d4227c63986c..d5a95444a16e 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; }