From patchwork Thu Jan 3 20:37:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 1929281 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8A228DF25A for ; Thu, 3 Jan 2013 20:37:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753708Ab3ACUhe (ORCPT ); Thu, 3 Jan 2013 15:37:34 -0500 Received: from mail-ee0-f43.google.com ([74.125.83.43]:63196 "EHLO mail-ee0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753497Ab3ACUhd (ORCPT ); Thu, 3 Jan 2013 15:37:33 -0500 Received: by mail-ee0-f43.google.com with SMTP id e49so7856314eek.16 for ; Thu, 03 Jan 2013 12:37:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:subject:from:to:cc:date:content-type:x-mailer :mime-version:content-transfer-encoding; bh=5qpm2Bc/Shb0ZmbfXUF5k1RNs7M2jFm0KJONmAJcl1k=; b=xC0/eYikjfgCsc05Wc2XenrhZXF0VaKxlAR68ykOt92VXAoLs+gtxzgbznZPf2Kiym F+GeCKp9cX5jy9MFINnXZBmJZTAj5Ip7y6UR8Qf77EWYgmrvEWA+AWW6jttjUgPHUALh WDLnYiHyCzxtUikWS7CxZJMSTpGfiQkJL6/wWvt6t0Ha0FjLyQKwSCyI+bcdw3+NHmkd ZjZASi6LQcFuf0bv2SlFxWTznVAUFzrmAxA573D7swFI/dwL32jpt9mwnEL6bqtSgtjn 8fRLog7cOi6pNljq0zF5NV0qLI1bRQrEPyy3Qg4ijIBaZc3424VPyyMRVRhZm41x6T3f hOyA== X-Received: by 10.14.0.3 with SMTP id 3mr136241481eea.16.1357245452316; Thu, 03 Jan 2013 12:37:32 -0800 (PST) Received: from [192.168.1.100] (188.31.54.156.threembb.co.uk. [188.31.54.156]) by mx.google.com with ESMTPS id 43sm106206620eed.10.2013.01.03.12.37.29 (version=SSLv3 cipher=OTHER); Thu, 03 Jan 2013 12:37:31 -0800 (PST) Message-ID: <1357245445.12232.3.camel@canaries64> Subject: [PATCH] ts2020.c: ts2020_set_params [BUG] point to fe->tuner_priv. From: Malcolm Priestley To: linux-media Cc: "Igor M. Liplianin" , Konstantin Dimitrov , Mauro Carvalho Chehab Date: Thu, 03 Jan 2013 20:37:25 +0000 X-Mailer: Evolution 3.6.2-0ubuntu2 Mime-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Fixes corruption of fe->demodulator_priv Signed-off-by: Malcolm Priestley --- drivers/media/dvb-frontends/ts2020.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/ts2020.c b/drivers/media/dvb-frontends/ts2020.c index 94e3fe2..f50e237 100644 --- a/drivers/media/dvb-frontends/ts2020.c +++ b/drivers/media/dvb-frontends/ts2020.c @@ -182,7 +182,7 @@ static int ts2020_set_tuner_rf(struct dvb_frontend *fe) static int ts2020_set_params(struct dvb_frontend *fe) { struct dtv_frontend_properties *c = &fe->dtv_property_cache; - struct ts2020_priv *priv = fe->demodulator_priv; + struct ts2020_priv *priv = fe->tuner_priv; int ret; u32 frequency = c->frequency; s32 offset_khz;