From patchwork Mon Jun 6 16:11:52 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Justin P. Mattock" X-Patchwork-Id: 852532 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p56GCZL4002739 for ; Mon, 6 Jun 2011 16:12:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755597Ab1FFQMQ (ORCPT ); Mon, 6 Jun 2011 12:12:16 -0400 Received: from mail-px0-f179.google.com ([209.85.212.179]:39364 "EHLO mail-px0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754422Ab1FFQMN (ORCPT ); Mon, 6 Jun 2011 12:12:13 -0400 Received: by pxi2 with SMTP id 2so2927503pxi.10 for ; Mon, 06 Jun 2011 09:12:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:date:message-id:x-mailer; bh=z/PeeQ4OoFy6eK40LDtfyDd5FShvYUx4dBlVoMyLbg0=; b=HOh1BArXYXgI+R0iB305JQZndiEln8ODcAhSNZHmCxCAQHRAedxu1vt0kTPFfBExU+ Kkb6njo29lX+cTKPRuW//s+MSlErhCoRtSvbNTYq7LAod9+hRBoEs6bSbkEw2OG/V1Po 5cA/P8p6RCeh38Jgo4TnEWyDVxXonC5orDXA4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=KVk8FhlRCkRAK8eJj8RzrKfzWGB/S9/GUgCj1JMcVYbJcuIGujOeU8ZVEf3qiyzhXk vFqaL3CLPratD98FFZLV+U/UnIa+6AS5+UHEbe2JSMY73oTGEV4q3uo/RR2l+wgOL623 V9PFa09QF8ZhKSCfLDGUYjn5Qu6wgObmavEcE= Received: by 10.68.39.36 with SMTP id m4mr1902934pbk.419.1307376733135; Mon, 06 Jun 2011 09:12:13 -0700 (PDT) Received: from localhost.localdomain (74-206-12-204.static-ip.m.telepacific.net [74.206.12.204]) by mx.google.com with ESMTPS id m9sm3783811pbd.7.2011.06.06.09.12.11 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 06 Jun 2011 09:12:12 -0700 (PDT) From: "Justin P. Mattock" To: trivial@kernel.org Cc: mchehab@infradead.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Justin P. Mattock" Subject: [PATCH]drivers:media:dvb:frontends:s5h1420.c Change: clock_settting to clock_setting Date: Mon, 6 Jun 2011 09:11:52 -0700 Message-Id: <1307376712-3283-1-git-send-email-justinmattock@gmail.com> X-Mailer: git-send-email 1.7.5.2 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter2.kernel.org [140.211.167.43]); Mon, 06 Jun 2011 16:12:35 +0000 (UTC) From: "Justin P. Mattock" The below patch, changes clock_settting to clock_setting. Note: This could be intentionally set this way from the beginning and/or is a typo. Signed-off-by: Justin P. Mattock --- drivers/media/dvb/frontends/s5h1420.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/media/dvb/frontends/s5h1420.c b/drivers/media/dvb/frontends/s5h1420.c index 17f8cdf..3879d2e 100644 --- a/drivers/media/dvb/frontends/s5h1420.c +++ b/drivers/media/dvb/frontends/s5h1420.c @@ -634,7 +634,7 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe, struct s5h1420_state* state = fe->demodulator_priv; int frequency_delta; struct dvb_frontend_tune_settings fesettings; - uint8_t clock_settting; + uint8_t clock_setting; dprintk("enter %s\n", __func__); @@ -684,19 +684,19 @@ static int s5h1420_set_frontend(struct dvb_frontend* fe, switch (state->fclk) { default: case 88000000: - clock_settting = 80; + clock_setting = 80; break; case 86000000: - clock_settting = 78; + clock_setting = 78; break; case 80000000: - clock_settting = 72; + clock_setting = 72; break; case 59000000: - clock_settting = 51; + clock_setting = 51; break; case 44000000: - clock_settting = 36; + clock_setting = 36; break; } dprintk("pll01: %d, ToneFreq: %d\n", state->fclk/1000000 - 8, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32));