[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20230705064922.10165-1-duminjie@vivo.com>
Date: Wed, 5 Jul 2023 14:49:22 +0800
From: Minjie Du <duminjie@...o.com>
To: hverkuil@...all.nl, Mauro Carvalho Chehab <mchehab@...nel.org>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Minjie Du <duminjie@...o.com>,
linux-media@...r.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE
(V4L/DVB)), linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com
Subject: [PATCH v2] drivers: saa7164: remove duplicate assignments
make second_timeout avoid double assignment.
Thank you for your reply.
Signed-off-by: Minjie Du <duminjie@...o.com>
---
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
Powered by blists - more mailing lists