From patchwork Sat Apr 5 11:20:02 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Bolle X-Patchwork-Id: 3942081 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 378F5BFF02 for ; Sat, 5 Apr 2014 11:35:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 54F4520295 for ; Sat, 5 Apr 2014 11:35:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 402F120158 for ; Sat, 5 Apr 2014 11:35:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752277AbaDELfO (ORCPT ); Sat, 5 Apr 2014 07:35:14 -0400 Received: from cpsmtpb-ews05.kpnxchange.com ([213.75.39.8]:54919 "EHLO cpsmtpb-ews05.kpnxchange.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752215AbaDELfN (ORCPT ); Sat, 5 Apr 2014 07:35:13 -0400 X-Greylist: delayed 909 seconds by postgrey-1.27 at vger.kernel.org; Sat, 05 Apr 2014 07:35:13 EDT Received: from cpsps-ews30.kpnxchange.com ([10.94.84.196]) by cpsmtpb-ews05.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 5 Apr 2014 13:20:03 +0200 Received: from CPSMTPM-TLF103.kpnxchange.com ([195.121.3.6]) by cpsps-ews30.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 5 Apr 2014 13:20:02 +0200 Received: from [192.168.10.106] ([195.240.213.44]) by CPSMTPM-TLF103.kpnxchange.com with Microsoft SMTPSVC(7.5.7601.17514); Sat, 5 Apr 2014 13:20:02 +0200 Message-ID: <1396696802.27142.15.camel@x220> Subject: [PATCH] [media] drx-j: use customise option correctly From: Paul Bolle To: Mauro Carvalho Chehab Cc: Devin Heitmueller , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Date: Sat, 05 Apr 2014 13:20:02 +0200 In-Reply-To: <20140403131143.69f324c7@samsung.com> References: <20140403131143.69f324c7@samsung.com> X-Mailer: Evolution 3.10.4 (3.10.4-2.fc20) Mime-Version: 1.0 X-OriginalArrivalTime: 05 Apr 2014 11:20:02.0876 (UTC) FILETIME=[FD3007C0:01CF50C0] X-RcptDomain: vger.kernel.org Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP On Thu, 2014-04-03 at 13:11 -0300, Mauro Carvalho Chehab wrote: > Devin Heitmueller (3): > [...] > [media] drx-j: add a driver for Trident drx-j frontend This commit introduced a reference to DVB_FE_CUSTOMISE. But that Kconfig symbol was removed in v3.7. It seems that the intent was to use MEDIA_SUBDRV_AUTOSELECT here. So the following (untested!) patch makes the Kconfig entry for "Micronas DRX-J demodulator" use the current symbol. It is basically a copy of d65fcbb0007b "([media] ts2020: use customise option correctly"). --------- >8 --------- From: Paul Bolle The Kconfig entry for "Micronas DRX-J demodulator" defaults to modular if DVB_FE_CUSTOMISE is set. But that Kconfig symbol was replaced with MEDIA_SUBDRV_AUTOSELECT as of v3.7. So use the new symbol. And negate the logic, because MEDIA_SUBDRV_AUTOSELECT's logic is the opposite of the former logic. Signed-off-by: Paul Bolle --- drivers/media/dvb-frontends/drx39xyj/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/drx39xyj/Kconfig b/drivers/media/dvb-frontends/drx39xyj/Kconfig index 15628eb5cf0c..6c2ccb6a506b 100644 --- a/drivers/media/dvb-frontends/drx39xyj/Kconfig +++ b/drivers/media/dvb-frontends/drx39xyj/Kconfig @@ -1,7 +1,7 @@ config DVB_DRX39XYJ tristate "Micronas DRX-J demodulator" depends on DVB_CORE && I2C - default m if DVB_FE_CUSTOMISE + default m if !MEDIA_SUBDRV_AUTOSELECT help An ATSC 8VSB and QAM64/256 tuner module. Say Y when you want to support this frontend.