Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28652975rwd; Wed, 5 Jul 2023 00:12:41 -0700 (PDT) X-Google-Smtp-Source: APBJJlHEjwAka3+IS2GZ4ovXbN9NrwQgtYN989dZrG1jyfS1eqlnIg9DxP3wJNAGbv6GJpn4eQ2w X-Received: by 2002:a25:d695:0:b0:c5f:147:7f01 with SMTP id n143-20020a25d695000000b00c5f01477f01mr3053815ybg.56.1688541161127; Wed, 05 Jul 2023 00:12:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1688541161; cv=pass; d=google.com; s=arc-20160816; b=BXGzquVmB8RFR17mgH4x0ZSakwGf0ArUc8zKJxZ8jXx1bxoHU8aNf2LKUZLTJTA0HM mXEJZCAkqXDmHaZxtPIh7JKqz5XujmlajLh0Il1iH/kJYswV/bIFgad0ZuPBCPVSuedm 5eUVVPUOBFlX0OTss1pqmSEEKOwvGKTfHoyIQiXT37ARInUbQgwn5YZCrGDnSDLfoG5g znRFIFiAAJnchRvxTqRwNahnym3loJxCM08KDqVfYN9Bw2e+sQEIlo9o2jReVq+dhsIN 2KaP6iQc8KyHBuy4sy76ZJ3Rq7o8jRn6XH48SwDwr0Qev2oq9TU5LIQJMXXJdM1c6iuV K0eA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :message-id:date:subject:cc:to:from:dkim-signature; bh=sXDH/6DTTLo+zICPLM6Nl+bZVNQETElZNZDf8Bxr/Dw=; fh=E0vEJFUOQASK1AMIKUx5YdFpUPW0d4Hksa2LOhQ2kGA=; b=oXBgp8C4hZk5BgWMc+cQ9TzvWVfYbkqJHPxFwVss9g/xfbpQE0cFLfpIP+UBVsidj1 42694WbYPT7sw7pNO9OhibVFuFzfAncKAYB7roYhGnC7QNCLYj0kyxaLtk2Cx1a8tUH1 qghs9TmnjKcly910TJQPtqE+STzqSUSBZ/1A6+Wt1LmZ5aE80SoW9fZmzreqWeicndp6 FcjeO0Pvi5Ek4iqik2ecpPqw8QiizUYcXKo+Tf/1C4Nn6bhrqYkwTI14LDFSVdPgSR42 pX5kMie497s7NsaKCxXgf2+oX4qkaZTl/oKVHY2Rh1Do1AVHPhb5AtMe3DpF7bPnsHYx lojQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vivo.com header.s=selector2 header.b=oW11tY4c; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g10-20020a636b0a000000b0054ffca12339si19849976pgc.441.2023.07.05.00.12.27; Wed, 05 Jul 2023 00:12:41 -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; dkim=pass header.i=@vivo.com header.s=selector2 header.b=oW11tY4c; arc=pass (i=1 spf=pass spfdomain=vivo.com dkim=pass dkdomain=vivo.com dmarc=pass fromdomain=vivo.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=vivo.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231948AbjGEGur (ORCPT + 99 others); Wed, 5 Jul 2023 02:50:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50418 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231493AbjGEGu2 (ORCPT ); Wed, 5 Jul 2023 02:50:28 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2112.outbound.protection.outlook.com [40.107.255.112]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4885F19A8; Tue, 4 Jul 2023 23:49:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nCNPrWJ40aYDOJMD9npyNN0AZ6vzAq9BtRe0ws+7pcSVrqLuLvcRYLgLFDMipQF6TfGDMg6WPHLwraM9SDnpsYCpLgQu5djOxWvrJ5E0GmjPUd/VulTgPgQl1o/EFCFXdN57iqp7jwz6WJ3TzcYXqvfhD0zwdOq/v3s/Eg4VCHm8o5Og/nBKmmf7YD8p5stDHxhAWLpgLpjx+DOnv2hRnGPNNew8bvoaUqv+Nm7CfkGVumjdqZyzIC9W90FYIT+nNyYKyPjQeQCtgD5V1Bg61Ut12Y/cHDmOEUhlO41L8p0W8KaTsuQ5RhjxbDARKaRmohBxLnKgJVWu8UK3oRe1NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=sXDH/6DTTLo+zICPLM6Nl+bZVNQETElZNZDf8Bxr/Dw=; b=gODN2CbTRhB710sTjGrEnPfjTZeXfeeA0hO/FicRbbFcrRE4rDz2wzyRjK6fpwDczHBgddJD8Db5h3rgHYH5/zMiTbkNZGAflQbYkiJ10R87mMGf849NtxJmRn/TAuMGX4jbuxEhi4kdzQHL7yPK2N/iYgkkPTJaCzngVw4MnFLyYjgYVmLGjXKcttVe3xIU1DFJwpHzm8jBfVGqhWSvmQajMZC3dyzCsLa9rsHaevtEycdpL5VhZhtGZEfPPlHJ4R21UhDBAeQX0Z41i3dL7r5IRgi586yPIFvqD7sPGqNkvnVzxC2rI0fO2o3ldBda/9DVqDB6yuVIKXNHGHhJnw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vivo.com; dmarc=pass action=none header.from=vivo.com; dkim=pass header.d=vivo.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vivo.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=sXDH/6DTTLo+zICPLM6Nl+bZVNQETElZNZDf8Bxr/Dw=; b=oW11tY4c5teWA0DKK835G+jRTHcVGydJipibsXwLdMMi/zu+cGd3b4Gkmc4S41yBnG7FmzDLSj2j+hIMoMQnxSTw+oOYeoSnfU3/RFMxgChNPB1LlLiR/rFUdIRwZWpATDO4Vi4m1uU6mE0i/KtrdED3105xHgAMtwjafpstVjCWP6gBNj84jVgBpeRjsXxlDWabvnEZjwQ8lrj3UbaDd2q5dLD01PuJpd5Wo78ubkM97ATp7zTT5BsQhUqnyZA9IYWo0ku03YSJ/raliAbX6+Eg6rL/EP1MGp1nZ+kplLSEPWUqqafbgWRBbo2C2VTJE10DyBCOwuy0KCTzyWAw4g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vivo.com; Received: from SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) by SI2PR06MB4140.apcprd06.prod.outlook.com (2603:1096:4:f1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Wed, 5 Jul 2023 06:49:32 +0000 Received: from SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c]) by SEZPR06MB5269.apcprd06.prod.outlook.com ([fe80::fa0e:6c06:7474:285c%5]) with mapi id 15.20.6565.016; Wed, 5 Jul 2023 06:49:32 +0000 From: Minjie Du To: hverkuil@xs4all.nl, Mauro Carvalho Chehab , Stephen Rothwell , Minjie Du , linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)), linux-kernel@vger.kernel.org (open list) Cc: opensource.kernel@vivo.com Subject: [PATCH v2] drivers: saa7164: remove duplicate assignments Date: Wed, 5 Jul 2023 14:49:22 +0800 Message-Id: <20230705064922.10165-1-duminjie@vivo.com> X-Mailer: git-send-email 2.39.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: TYCPR01CA0004.jpnprd01.prod.outlook.com (2603:1096:405::16) To SEZPR06MB5269.apcprd06.prod.outlook.com (2603:1096:101:78::6) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SEZPR06MB5269:EE_|SI2PR06MB4140:EE_ X-MS-Office365-Filtering-Correlation-Id: 7bde4747-ba8e-4b48-0f30-08db7d23fceb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P+3XbwQAPe8BDdFzMqGjsx6/ID/EWmC5f+9xMyuigyAUkRmQCrcuuwTEZ6xRY4aNOOINIp3yqcZhA1CmNyl7QzfVwBM3B6jONYsohT/9apV+KyF0pHezk5lg0ngGt5tLeSj0gW7P0LGJdExn6YX1KC7bu+todAzQiYbUzUAty2yOGN1pFS52Mw4qSydSKzqwhUlYjw3x8VMDOgCuwpFrI+PJM83efDEBan3Pd6O3vYXobNiOiVIam1ZeHIzyoEQ7c/CMdDppynB/Y/SULJqLt3bElFj+xXJ5n7j3JWM1lC377f9uWHrUiiHKA4PP6b60GYTpp1cs0ecuLUUQ3oU6f/5i/BsTXmo0BPZQVyB4HtNs5zl0ZSkhsecn/a5JDQaNt/Eh3c7nLgeU8s6jvcJEDFciQ9GKD8Q7+feBmfizDMwJDL2X1cc30qs+IF4IpNRzgmwWhLIjhdgqkqOgetlayD35DhA6aoGe+2NzEsX1AyMxzto767lBsmL9dK0ksniFLM43Vxw9ufUfLRyDz1PiRe0u8FJhszfHIzPIKkiRg2IP+PNF1BgGJ+IYX3k3Q+7xeL0qxGlhpjo0qlcmmbNsjG3KkQK0LNruNEFI4yG5e1LqoJAc4MxwADXnCaBbXnp5 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEZPR06MB5269.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(136003)(376002)(39860400002)(396003)(346002)(366004)(451199021)(41300700001)(8936002)(8676002)(110136005)(36756003)(6486002)(4744005)(316002)(5660300002)(2906002)(66476007)(4326008)(66556008)(52116002)(6666004)(478600001)(6512007)(38100700002)(107886003)(38350700002)(186003)(86362001)(66946007)(2616005)(83380400001)(6506007)(1076003)(26005);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?qpjr65LW1rnFAdw6dQzbhM1/WDWT8QVkz99NBXPwzEqHSsZvf5UZEvHBoyD5?= =?us-ascii?Q?PJlml9aqJF5Jr1yLNwctRhCq42rudkgW7pRxx1zTCPI3QSYTCNgcKQHVYLWQ?= =?us-ascii?Q?HJo3wK0b6iE0sFYt3DM8sF4VWAbJWKplHUxet6ZfZSvsdJ2QsUK0RPs20RS/?= =?us-ascii?Q?AEnK/FRX9kBDjLfoQ6zRj7zdRdG/fLXfCHgHFbdOH/3hmI7NthDBIQ3vUlp4?= =?us-ascii?Q?SefnotHf+0IL8QlZJSdAVrbXng8N2UN66l+TSH0ti2IvZrMP8AfZ7JtN/haO?= =?us-ascii?Q?sQ97MK3Qv+GdLkdQuT2yAWlA3Q+DS1JI0wn2ysVmfbvKuhE2dzCb5JcDtWdy?= =?us-ascii?Q?byABhs3U/jtqvFVKolBGEw2eChforlCoUL1VmCKWMDc9NSr2XEFy/B0ZhHJ3?= =?us-ascii?Q?oeuI1wLKEuME4scbI4mZr5qoxTMS3BqnGnsANf6oogZ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akDWkzI7AIYC72EDfDcw+/ifHwAEQspSDodKCQRmT6OXzTz1zOdh?= =?us-ascii?Q?oS/loYQ/FjSUpidHybcWzs5SZcH32OiMWoqRL+vD482wppAeLYd266V91ZLD?= =?us-ascii?Q?YTZzToYUIQCjajX/9cOFusY2BX67aLUb4cCPUtySQU/Z44WQtx8SafnO0TPE?= =?us-ascii?Q?PlZwylKgc8o2VkN1krx68dG/iodqqMm40d3DERZU1M/feAvaWpgNHbUesAlF?= =?us-ascii?Q?uxnyBszW/Pttzsw1MJb5aLLza/O1DhHs+JWh586R?= X-OriginatorOrg: vivo.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7bde4747-ba8e-4b48-0f30-08db7d23fceb X-MS-Exchange-CrossTenant-AuthSource: SEZPR06MB5269.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jul 2023 06:49:32.5946 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 923e42dc-48d5-4cbe-b582-1a797a6412ed X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yCfEBaZRR7yJOOK+6xp+ELSRtn8D70zhVin0CGPJftrhKGMFEZkitu4YyQZC7LRosED/ELBEr6WbVWhNtpcVyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SI2PR06MB4140 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 make second_timeout avoid double assignment. Thank you for your reply. 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); -- 2.39.0