Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28624259rwd; Tue, 4 Jul 2023 23:41:22 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vv9DsT1x41/JXpreh+A9H5Nn/6Rfpr9yU1R8dJf0JwHEU4X34PLlRcRTp+b4F6ykZ5NX/ X-Received: by 2002:a9d:741a:0:b0:6b5:ed7a:1769 with SMTP id n26-20020a9d741a000000b006b5ed7a1769mr15160728otk.16.1688539282704; Tue, 04 Jul 2023 23:41:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688539282; cv=none; d=google.com; s=arc-20160816; b=uWtFR2Gf0Gh8urmmVS+5SQObqfcrS4XxtClDrPZxqhyNQL9330b6V59NWFhfTu4xk8 bl5R8t/WHVJoFgpa742BYB2uc4jZAPpFxaYpkM1InJlHwVhQDR41M+3EbXoKSso3wlzm 5UOcTLX8aYgtoHwMmgYHUZLiDGlHp7ZNMLXqVVzQ0KTuexhTdkwNZSOzBjkVs0hlfMWy 7+ZFJZ7W/HtGp8zHMOuevW3Xye6s/+vHFUEgUMLI3UDe0o2PiVkf91uun07xToYtXa/T lBty9tKzW4AtTXpd1F3wjrovAoOBSmbp/LSSK+Y8rHno653BhjM/HpFf4BALtWW+Rvm5 Rcuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=Eordu44KGUGcxBxmQXl0oetApLx3uGjW6+IKpViztdo=; fh=6e8IhUcdEwttXZPgmHZa9FpyQUKLeeKiGuzgNPdhvto=; b=L+uDh2h/2hjsPHSHK/Pdr3xHXtByxeSkgksVelPGgWlgCUOdxrN1LbO0t9VdSS6ryY QBQNB4rH+xbY16jcu+qpzobcHGRCCKx3UjgTkGj8Nj/NpcPOBXIUJI0QxHmLOmFgZTpT SWWcNFukXZtIh6pJMQwxCTWF6HfgjUz9oNIXlpzmy22yJtU6TcnpCXq+W/ExdO9XtmGS sZToklRAj8FDAhEVqpshn3HaDN5Tpp8fPuJ6qhc54BvRFaOqP2nZBg9E5IlpCuclmS6Z +jMM7QIZrHR3lvMXHyyxbR5Lua7fhkJ9+SKV52aVxXf/0PKDofypB605Ou1f7zhOcHMy pd9Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 29-20020a63145d000000b0055337cf6342si21982983pgu.332.2023.07.04.23.41.10; Tue, 04 Jul 2023 23:41:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=xs4all.nl Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231570AbjGEGVf (ORCPT + 99 others); Wed, 5 Jul 2023 02:21:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40398 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230353AbjGEGVc (ORCPT ); Wed, 5 Jul 2023 02:21:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D37910E3; Tue, 4 Jul 2023 23:21:32 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 754A06143D; Wed, 5 Jul 2023 06:21:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B03CFC433C7; Wed, 5 Jul 2023 06:21:29 +0000 (UTC) Message-ID: Date: Wed, 5 Jul 2023 08:21:28 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v1] drivers: media: remove duplicate assignments Content-Language: en-US To: Minjie Du , Mauro Carvalho Chehab , Stephen Rothwell , "open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)" , open list Cc: opensource.kernel@vivo.com References: <20230705044750.8498-1-duminjie@vivo.com> From: Hans Verkuil In-Reply-To: <20230705044750.8498-1-duminjie@vivo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,NICE_REPLY_A,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/2023 06:47, Minjie Du wrote: > make second_timeout avoid double assignment. Please post a v2 where you mention the driver name in the subject. "drivers: media:" suggests a patch touching on many media drivers instead of just a single driver. Regards, Hans > > Signed-off-by: Minjie Du > --- > drivers/media/pci/saa7164/saa7164-fw.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/media/pci/saa7164/saa7164-fw.c b/drivers/media/pci/saa7164/saa7164-fw.c > index 363689484..cc9f384f7 100644 > --- a/drivers/media/pci/saa7164/saa7164-fw.c > +++ b/drivers/media/pci/saa7164/saa7164-fw.c > @@ -271,7 +271,6 @@ int saa7164_downloadfirmware(struct saa7164_dev *dev) > dprintk(DBGLVL_FW, "%s() Loader 1 has loaded.\n", > __func__); > first_timeout = SAA_DEVICE_TIMEOUT; > - second_timeout = 60 * SAA_DEVICE_TIMEOUT; > second_timeout = 100; > > err_flags = saa7164_readl(SAA_SECONDSTAGEERROR_FLAGS);