From patchwork Tue Oct 2 21:12:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 148026 Delivered-To: patch@linaro.org Received: by 2002:a2e:8595:0:0:0:0:0 with SMTP id b21-v6csp5642175lji; Tue, 2 Oct 2018 14:13:38 -0700 (PDT) X-Google-Smtp-Source: ACcGV63zLSruXANsiNDfRmLcLcYzUPffRXxxc6BnnrhPjvVk+verIdH8P9FKJbGgCF8yDcxQ0IH9 X-Received: by 2002:aa7:8203:: with SMTP id k3-v6mr8388401pfi.164.1538514818590; Tue, 02 Oct 2018 14:13:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538514818; cv=none; d=google.com; s=arc-20160816; b=mhhQhS7nJAli2JN/tedEOkVrvYl2M/GWSOUH9wS9PzmUbaPUZsa5vQD5KHshSPWDVJ Gx0g+IHbz6a+IhtGcVfpkBH0+Uu0QonnHxaN4blG5THK1A/Pu5A1yB4snMUj4vqT7JIe ZvTK1303nfQ6NB4nTu23Kj5fWJtYlRg4ysX9JXnv2R4YFxkOVKJ2s/0k5WjnAooqWfw4 OeW3g1glwW56pNBzPsdzWKwEdj2HqXSMOlTwbQs5jvyOqjLVHWd/E5dqWFS7so8/jLBz Xg76dKmFSDrDYgoVBB9BplD8cqFJUwgXUJKkOT/ZE3J3zYD+CUSRWppK96+0C6cJu0XR vihg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=87lEadZrKgPppXIVF8Rl8ugW0YVO/iXMTc1TX7x8Mcw=; b=bjb7AHjDDXZU7g3kOUzF2W1eq11YXP105PkfhOp/7L19xHy1iXEg05S9ku41XMd6Gh 9b+asYHo3LMrJsIokzKQPrCApW9qVI2jp7RdgRkxSZ+Ij33MLxUeAnI3iMyMbyFr7chC dD4HOvTq97r5bbB8yPgH1zKHT1atjyZ6Usojo7e1rpMxjJ91PXl/T6seEIep//aXkGwo kQZ2sOZB/OGaetfpsmvfjKwOs++BQ7Qa10Z5IHfucod70ZfFvBUGUNIJsbbKggRbNnrx IEOnEYkDgQ7Fkugq9bLcWId7uzEQzJuiaJjf4mLirZAk2rJGMLi7ArNKPTkIuyvRoxxM K+Vw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a23-v6si16778565pfg.200.2018.10.02.14.13.38; Tue, 02 Oct 2018 14:13:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-media-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728359AbeJCD6y (ORCPT + 4 others); Tue, 2 Oct 2018 23:58:54 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:37759 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728139AbeJCD6y (ORCPT ); Tue, 2 Oct 2018 23:58:54 -0400 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MmkfQ-1fPtUB3FMk-00jr8i; Tue, 02 Oct 2018 23:13:25 +0200 Received: from wuerfel.lan ([109.193.40.16]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPA (Nemesis) id 1MmkfQ-1fPtUB3FMk-00jr8i; Tue, 02 Oct 2018 23:13:25 +0200 From: Arnd Bergmann To: Hans Verkuil Cc: Arnd Bergmann , Mauro Carvalho Chehab , Sakari Ailus , Jacopo Mondi , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] media: i2c: TDA1997x: select CONFIG_HDMI Date: Tue, 2 Oct 2018 23:12:43 +0200 Message-Id: <20181002211324.2696685-1-arnd@arndb.de> X-Mailer: git-send-email 2.18.0 X-Provags-ID: V03:K1:SMhp1ipvEagD+VmGlTUAPuJCsOqAnq3MZ6kZ3z+Ql1/u0z8Ha5t AWsn+7ptOaMBptXkC4oPASkmgdn9+ZW0qSt2T5H0lg1GHJe/T/AIfO9DXrZmG9EdAKHOA2M C2AImqj0VDMAZDQAED/s4cKfN2p0dSsUv7/HN/IWJpm7kE6nj0XY5ncG1SMHDUE5lGQl3iU HiZGf3aQcaU1h9jIGVmpQ== X-UI-Out-Filterresults: notjunk:1; V01:K0:1JQsn2auYzs=:11Qc0CCXDOBcE8mg+aD0aW WnXYMF4k7HSTIti9K5ElzFEuA2VTcBfOqW1wCV8AdAS/JV8ojsSasrrPdgCDgA+KU4AEEBcq+ 0SSUgWrIeOfcqidokb8QK+pZeIVwZwLi2n/PZ7AsoEQvADw294ILlxQoy8FVpClUOviNj9dVF H+ouf8R6dv/OJeSjKjkf7sVJvVqRAqnuDiz+JS18jLdtcmN7OYXxvY2J6TPrT5gCubu+bTe6m m91iV/IdBqEJ71dr/S9/1nU3oYa6+xy7M3Knab+hBUejAbOXvwHkVb1Z1/CooEh8saTao9Ofh 6cAHrWpEGXL1rsf0EZ3AS/WjUSAc9lkugLh2DWCZAco7MQ0vbKIgQtPoKLuj9m9Zy4duqgueo MNN6ecWpC1pkMbj4ap0AQrKsqRJMqRTs1+ZhjT9MpBLvEb2JLtQdj5zvhwe0dXp+quiW7JuGU 8gNOPlNkTQ2NeJBH7z9mJ9OcsDBExcL1FVASndZzlvZvTNuMzKO2EHD9Ri24qb4YE7vgvTp1E u7BPH5c7ECfsG3DjW4Fq9dkvwBhKcaQwqHSmGhPU1y3Apl0/MvSfIVu0JOeuuaVC52G1u1zKU B5vVUoxjlsO0gM0WF7f/SEhsSW6kQ9pYOYqIo2WTygcBxeHiu7UrlpsPnf2mXKX4SqbEiJJLi Ab5cgQ9/hj8isTuoFXdBWlIJnxIL1r8fDutpwEHoqhQqhIIKPnAGqjpInQO8qnReZgxc= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Without CONFIG_HDMI, we get a link error for this driver: drivers/media/i2c/tda1997x.o: In function `tda1997x_parse_infoframe': tda1997x.c:(.text+0x2195): undefined reference to `hdmi_infoframe_unpack' tda1997x.c:(.text+0x21b6): undefined reference to `hdmi_infoframe_log' drivers/media/i2c/tda1997x.o: In function `tda1997x_log_infoframe': tda1997x.c:(.text.unlikely+0x13d3): undefined reference to `hdmi_infoframe_unpack' tda1997x.c:(.text.unlikely+0x1426): undefined reference to `hdmi_infoframe_log' All other drivers in this directory that use HDMI select CONFIG_HDMI, so do the same here: Fixes: 9ac0038db9a7 ("media: i2c: Add TDA1997x HDMI receiver driver") Signed-off-by: Arnd Bergmann --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index bcf0686190e0..d958b7fd9e73 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -61,6 +61,7 @@ config VIDEO_TDA1997X depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API depends on SND_SOC select SND_PCM + select HDMI ---help--- V4L2 subdevice driver for the NXP TDA1997x HDMI receivers.