Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3742650pxb; Wed, 13 Oct 2021 12:01:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2tbmhLOMtrbAldt5xyVmmIOGP00BARSoSnQQTmevGXGpLEYsTnRwS7BYsF0l7gNLkXeDR X-Received: by 2002:a17:906:a88b:: with SMTP id ha11mr1146030ejb.137.1634151691116; Wed, 13 Oct 2021 12:01:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634151691; cv=none; d=google.com; s=arc-20160816; b=HqIGb4BI+g+XFlqGRaakk1x7N8mShJzsVABs/YT9N47QMMWsMFtgtfVgilmAjghQ2T xDVW33FTBBynTFmqVJ+x5/pwM7NRPYxnw0eVmEPmnf0O4yBfIMBWHw7JqCn9FW0RpvzG 7wg01MT+JFYUgZr3R+caj4nTnOJyZ52nWUmdkvVWVtRYdILL0YzWVnf3hum16DzwiwBK 9KPzbLmzDDrSrphKmhbd5I5oWSE67jAwD60eVDjR/RuuvLlLrqHuDa/XohAqTCoT84bZ Nd0csz+z8Q+BgdnR+nClXZfdxKbzTKaz+rWpNoTPIYqSbqCTmQdE8N77vGnhkvAb++mD EEKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3LHPDY3kMpnJAm0T8AaCeTyE7uf/LEhpftdR1uzKAKo=; b=izEDWEVRa4PkFIJKdZIdzaNHCKYAjQMHw9IOKYGPKHKh/W7tidS2FOJDRSpmj7AsRy PAKGqYpaGlE/jBt4rTo+F6dQU0Ysc1PHpEScyoXtBzOGxJL+1NC5nHr/crdZkzLGTh6E w/gkHBWp6PYrB134UGr+y2goLMwT/mZKAtP4vXm27GJriVab5haYtNvmYgSDHf9uDcfN kgMw2gx3XKmU7P7Po0VutMgoapVHjXCefbuqcbW/hyRVTIBkw0kpv609hOn88b9jeGUp OtKTuvaIjoB/q3MKCURRPQNfx1aqv037KC5xa539/j8Q0NPh5lde73FUnIyNVLMXgVq2 N6gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=HZr6vn6r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ry6si655829ejc.180.2021.10.13.12.01.03; Wed, 13 Oct 2021 12:01:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=HZr6vn6r; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239041AbhJMTAi (ORCPT + 99 others); Wed, 13 Oct 2021 15:00:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238877AbhJMTA1 (ORCPT ); Wed, 13 Oct 2021 15:00:27 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBD96C06174E for ; Wed, 13 Oct 2021 11:58:23 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id r10so11501159wra.12 for ; Wed, 13 Oct 2021 11:58:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3LHPDY3kMpnJAm0T8AaCeTyE7uf/LEhpftdR1uzKAKo=; b=HZr6vn6r95DGJh75IxvsNPy20JYk18tx0+R2HbzZTxZWxtuvkWgmEdQxbicqIAteHT YSy1owofRejoV7zFOPr0E6vU8BE0l0j61q6gCVCHVXSgyzwk6/gct7xr9K/Cmm9C1lUM 91az4pu5wzKnYvyFmbzkemjCABbcdSyiRp+UF3CZvvVDWWyuDgq6b0RCfXQJsO/AIDZP eQj3OeH+f6gfNWoc1qD/tdazwDK/bZHvnviAqZf27J4WCYIeXS5Gn6EKkl9jcVo7tvJk TQJyU8nIE4GKoQxTOn4nuWq3P52h89sLq0tgCatqPuCOHXiBg8C3dupTmpIyLLZB6DJM 7t6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3LHPDY3kMpnJAm0T8AaCeTyE7uf/LEhpftdR1uzKAKo=; b=4JuVxBJxqY3f8O9hYpQRLZbZTkWOO86S+Cez7sl5vwRnXjr88cv3zzCA+6CtlpzAd5 a1wkYKmOaQaJ4CNYFir4RzA8e+SEVnABID4jfLmQDdO+X7uoaVgQKawCVZiPpNIIa96y yGjZ9qAfBwfpcPoon2DUJBB5sqrHX+44sUyaXbbmw2LsuePyjQOY15d8Q77P4EcjgrfJ OGOzBttwYUt6ZxKz4D7vQ6dEIVfY6oVrqMLKXYDwTA3K649OTx+xK6wNF1KxM1wnell7 CQvWr70CQRHBfosJVjnUGO3SICv/0QyAb3MhzuvrGAv408jopi8U6zrRpaQIb4YMjgLj ThjA== X-Gm-Message-State: AOAM533N24xTIIDQR4FTKbOFTNAsznD/A16dq9oYpjNXqT/x5kk3Uakn lo+kheyxQBNZCeDgSO7K0xQicd8QdF4Hnw== X-Received: by 2002:adf:f902:: with SMTP id b2mr1011711wrr.265.1634151502535; Wed, 13 Oct 2021 11:58:22 -0700 (PDT) Received: from localhost.localdomain (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id e8sm573059wrg.48.2021.10.13.11.58.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Oct 2021 11:58:22 -0700 (PDT) From: Corentin Labbe To: mchehab@kernel.org, hverkuil@xs4all.nl, gregkh@linuxfoundation.org Cc: linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-staging@lists.linux.dev, mjpeg-users@lists.sourceforge.net, Corentin Labbe Subject: [PATCH v2 07/10] staging: media: zoran: remove vidmem Date: Wed, 13 Oct 2021 18:58:09 +0000 Message-Id: <20211013185812.590931-8-clabbe@baylibre.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211013185812.590931-1-clabbe@baylibre.com> References: <20211013185812.590931-1-clabbe@baylibre.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The vidmem parameter is no longer necessary since we removed framebuffer support. Signed-off-by: Corentin Labbe --- drivers/staging/media/zoran/zoran_card.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/drivers/staging/media/zoran/zoran_card.c b/drivers/staging/media/zoran/zoran_card.c index a0739d3462bb..a079fb6e27a3 100644 --- a/drivers/staging/media/zoran/zoran_card.c +++ b/drivers/staging/media/zoran/zoran_card.c @@ -39,17 +39,6 @@ static int card[BUZ_MAX] = { [0 ... (BUZ_MAX - 1)] = -1 }; module_param_array(card, int, NULL, 0444); MODULE_PARM_DESC(card, "Card type"); -/* - * The video mem address of the video card. The driver has a little database - * for some videocards to determine it from there. If your video card is not - * in there you have either to give it to the driver as a parameter or set - * in a VIDIOCSFBUF ioctl - */ - -static unsigned long vidmem; /* default = 0 - Video memory base address */ -module_param_hw(vidmem, ulong, iomem, 0444); -MODULE_PARM_DESC(vidmem, "Default video memory base address"); - /* Default input and video norm at startup of the driver. */ static unsigned int default_input; /* default 0 = Composite, 1 = S-Video */ @@ -1163,10 +1152,6 @@ static int zoran_probe(struct pci_dev *pdev, const struct pci_device_id *ent) jpg_bufsize = 8192; if (jpg_bufsize > (512 * 1024)) jpg_bufsize = 512 * 1024; - /* Use parameter for vidmem or try to find a video card */ - if (vidmem) - pci_info(pdev, "%s: Using supplied video memory base address @ 0x%lx\n", - ZORAN_NAME, vidmem); /* some mainboards might not do PCI-PCI data transfer well */ if (pci_pci_problems & (PCIPCI_FAIL | PCIAGP_FAIL | PCIPCI_ALIMAGIK)) -- 2.32.0