From patchwork Sun Nov 22 21:52:37 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?TsODwqltZXRoIE3Dg8KhcnRvbg==?= X-Patchwork-Id: 62081 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nAMLqhde030743 for ; Sun, 22 Nov 2009 21:52:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751124AbZKVVwg (ORCPT ); Sun, 22 Nov 2009 16:52:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751812AbZKVVwg (ORCPT ); Sun, 22 Nov 2009 16:52:36 -0500 Received: from mail01a.mail.t-online.hu ([84.2.40.6]:63263 "EHLO mail01a.mail.t-online.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751018AbZKVVwf (ORCPT ); Sun, 22 Nov 2009 16:52:35 -0500 Received: from [192.168.1.64] (dsl51B6C41D.pool.t-online.hu [81.182.196.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01a.mail.t-online.hu (Postfix) with ESMTPSA id D150B797C69; Sun, 22 Nov 2009 22:51:43 +0100 (CET) Message-ID: <4B09B2A5.6070302@freemail.hu> Date: Sun, 22 Nov 2009 22:52:37 +0100 From: =?UTF-8?B?TsOpbWV0aCBNw6FydG9u?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; hu-HU; rv:1.8.1.21) Gecko/20090402 SeaMonkey/1.1.16 MIME-Version: 1.0 To: Olivier Grenie , Patrick Boettcher , V4L Mailing List Subject: [PATCH] dib8000: merge two conditionals X-DCC-mail.t-online.hu-Metrics: mail01a.mail.t-online.hu 32721; Body=3 Fuz1=3 Fuz2=3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org diff -r bc16afd1e7a4 linux/drivers/media/dvb/frontends/dib8000.c --- a/linux/drivers/media/dvb/frontends/dib8000.c Sat Nov 21 12:01:36 2009 +0100 +++ b/linux/drivers/media/dvb/frontends/dib8000.c Sun Nov 22 22:40:31 2009 +0100 @@ -1402,10 +1402,9 @@ } break; } - } - if (state->fe.dtv_property_cache.isdbt_sb_mode == 1) for (i = 0; i < 8; i++) dib8000_write_word(state, 343 + i, ncoeff[i]); + } // P_small_coef_ext_enable=ISDB-Tsb, P_small_narrow_band=ISDB-Tsb, P_small_last_seg=13, P_small_offset_num_car=5 dib8000_write_word(state, 351,