From patchwork Tue Mar 24 14:26:02 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 210477 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.1 required=3.0 tests=DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4A0ACC2BAEE for ; Tue, 24 Mar 2020 14:26:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 195A120788 for ; Tue, 24 Mar 2020 14:26:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585059998; bh=X/F1qWsmyNf72Fejws4IM6/sAtChB+ci2BuEUkaM1RI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=m33ua/LmEUJPQEEZDnOfpRgTzj39ytuohg3a85vP4/2lTmq61S+D1NmuvHaGKfzSE 7t2HtIUKSXpv6Vs7gsfWvIkBWSefIa6JkJZQAlNAaBOXK3RneXFmv4K9k5A8jPz+Uu +jNrS8xnrhmPpKS4pN5qjQA9eHPW14ARLayIKXQU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727938AbgCXO00 (ORCPT ); Tue, 24 Mar 2020 10:26:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:35646 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727605AbgCXO0Z (ORCPT ); Tue, 24 Mar 2020 10:26:25 -0400 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3F8C020789; Tue, 24 Mar 2020 14:26:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1585059985; bh=X/F1qWsmyNf72Fejws4IM6/sAtChB+ci2BuEUkaM1RI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OSBhrdUmcLXsZRF9L7osBM39/yI/Ll/+WST+kCfLXxhPUX9wwGPdqeuZupcZc+7di IGcUI02/vyAx29oI3Q5bsLt2jgyIwQ4SZZOhsVgR0qGiGOlKYdsCo0BcIau4F3Zt7A KGl5FkWsPYik1eeDrmP9tOtXFeeB4y7RYnw25Uro= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jGkVb-00266P-Fu; Tue, 24 Mar 2020 15:26:23 +0100 From: Mauro Carvalho Chehab To: Linux Media Mailing List Cc: Mauro Carvalho Chehab Subject: [PATCH v2 01/20] media: dvb-usb: auto-select CYPRESS_FIRMWARE Date: Tue, 24 Mar 2020 15:26:02 +0100 Message-Id: <712ca59ba2e1185fc505b52eba9eb3575467f393.1585059896.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: References: MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org At least some of the supported boards by dvb-usb driver need to load the cypress firmware, so select it, as otherwise missing dependencies may popup. Also, as the cypress firmware load routines are needed only by the dvb-usb, dvb-usb-v2 and go7007 drivers, and those all (now) select it, there's no need to ask the user for manually select it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/common/Kconfig | 2 +- drivers/media/usb/dvb-usb/Kconfig | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/media/common/Kconfig b/drivers/media/common/Kconfig index 1990b7f09454..4ea03b7899a8 100644 --- a/drivers/media/common/Kconfig +++ b/drivers/media/common/Kconfig @@ -14,7 +14,7 @@ config VIDEO_TVEEPROM depends on I2C config CYPRESS_FIRMWARE - tristate "Cypress firmware helper routines" + tristate depends on USB source "drivers/media/common/videobuf2/Kconfig" diff --git a/drivers/media/usb/dvb-usb/Kconfig b/drivers/media/usb/dvb-usb/Kconfig index 1a3e5f965ae4..42334a02cdce 100644 --- a/drivers/media/usb/dvb-usb/Kconfig +++ b/drivers/media/usb/dvb-usb/Kconfig @@ -2,6 +2,7 @@ config DVB_USB tristate "Support for various USB DVB devices" depends on DVB_CORE && USB && I2C && RC_CORE + select CYPRESS_FIRMWARE help By enabling this you will be able to choose the various supported USB1.1 and USB2.0 DVB devices.