Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1055418ybm; Fri, 29 May 2020 20:13:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyMjbekQPxbUzSuyhQdlD7++3HD07ZLc4ym80l4YWRZ7xzJWktX0BPs+hv0EkIdFTcTeL2m X-Received: by 2002:a05:6402:39a:: with SMTP id o26mr11646391edv.10.1590808438431; Fri, 29 May 2020 20:13:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590808438; cv=none; d=google.com; s=arc-20160816; b=ZaXOCfLMxxb3LdhfZf9MPAi0TV4sDyObUUUWjjkav85uzmLe8HGMGq6hY9iHx43hQO bwwUEornlkHxsk4KzwbD8NE/ATtpaOeY20ky7wkB/NkLv2hb7TTh3Qp5bVGPq9yY8Q5B C97EQ+IF01AZ+K7YpY4XpnegY6v7coLwS4D7qE4S8fIiIWlF3a4EH6CkxxUSsaw6vtWq LmheoMKJTCGEGOy/sWQzHyeRjVwUx1oiOx/6t6krbSCMpJLTlJizcDm8Yjzqttnnmqe4 xMNzyJnggD0YUXysrKS4FaB/5mcgqstHlh6UiostRVg7P3VcRA6AvH19LZOuiOeS2YDE hsZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=itkS+rLxG0j3d2wAPSaT9vUD+EmHbZGAjTEvDwroJZY=; b=jyGMKh+W90Y4wgzLtpiPaDyure8MMqud5AuDJ3xWwI//2qzMRe0lJKiDIvLXGdsWVl p5PqiC/nUzPB/GPPhqFRRGg9iDPmiAkFg6FxejKKmdaF/MxBMNwPGJevPX8BB+Ekj9ni slnYmhy/hcrz5sXC72tfrJw7ktROQWHTqXLeBilG4KMtigUlD06KYIdrVdEhqmNjhqvM 3fXG8rDlit0usH2aw+/dEsXpRNpuU2KrI54+dMTD8QlQSIS6cy2a6w3tZhdixBOP3GE/ VFBPjAM3agJyhA2Y3E09yvCHmAe4kuUa7qhwOQwZ4wtfD9GOHLTKUzGGO/Sv+U+6Mow5 fWhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=X2iomiCi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg7si6477485ejb.411.2020.05.29.20.13.32; Fri, 29 May 2020 20:13:58 -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=@gmail.com header.s=20161025 header.b=X2iomiCi; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728707AbgE3DLf (ORCPT + 99 others); Fri, 29 May 2020 23:11:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46544 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728297AbgE3DLe (ORCPT ); Fri, 29 May 2020 23:11:34 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A8DAC03E969; Fri, 29 May 2020 20:11:33 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id z64so739024pfb.1; Fri, 29 May 2020 20:11:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=itkS+rLxG0j3d2wAPSaT9vUD+EmHbZGAjTEvDwroJZY=; b=X2iomiCi0U4lxn91zwW4jw40L+v7+RxtzVRJKbNo0p1P2o1d9ZZkBqTlJcYe8Zfi7q k+SnyLCZ/VEyqeCrl1/yeDDqbfeMJePdPjuT7RuttuHfdeGt40GSWfQnGj6rktoOXAiy 11qfqjzyaTjQnCwaU5P8cu/BjmrcdqVFa86MoNEEZmRkCJAu/So+qkPDWA72ESY0TWx7 obR60o1e4Nu+BrWcW9V1hrbDnrkJuKT81KljN4HsDF2Caqc+RmUW9CklbkGC2vpsicIo lRTFs3EV2FUH4Qlh/N0MnsCloMkR+GP6D8bjOdClyJwm7ZV0xcl+TjKFIXzcFulvKFvD V3zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=itkS+rLxG0j3d2wAPSaT9vUD+EmHbZGAjTEvDwroJZY=; b=nzZtp7twJgJgj7y9bf7W62esNeBc7AAtZEQKqGpkwJxT+GIWwOXgOW04bLz4sul1Hp XOvgbqLBWde1qYrAlXzrhh6TYMbpST9WSXhaoccZdlOUDrpcksYpYyzCZznSrWU1XJ/N EnAYsvkFtaZ1Wf3WhC4pNMNVzgw0eUD+biKd1HLdnEb6U3nmGlIirKSxyvkZPZIFdFwo LXf5rrPmgy6idUimwk0w+MINDvpF7lwU79Eqd3n4z6cUo9EkZ5GiUiCaOwLi6VjyVDQZ ulNaCE7BaxGARTOpG9umbYMQnQO1RkovJzoKOO7qyR1uj3vq643Tv3pJHXMdMerRbz5G 3zLw== X-Gm-Message-State: AOAM530it3uH4Pp1ic6bOc8FNX4zwvk5gE0ecslM1e+goXnyS1EhDt6b CCJ4EzorwSwzA938kTmTYfg= X-Received: by 2002:a62:e801:: with SMTP id c1mr11425576pfi.217.1590808292708; Fri, 29 May 2020 20:11:32 -0700 (PDT) Received: from ubuntu-s3-xlarge-x86 ([2604:1380:4111:8b00::1]) by smtp.gmail.com with ESMTPSA id n19sm5384613pfu.194.2020.05.29.20.11.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 May 2020 20:11:31 -0700 (PDT) Date: Fri, 29 May 2020 20:11:29 -0700 From: Nathan Chancellor To: Arnd Bergmann Cc: Mauro Carvalho Chehab , Sakari Ailus , linux-media@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH 9/9] staging: media: atomisp: add PMIC_OPREGION dependency Message-ID: <20200530031129.GF1367069@ubuntu-s3-xlarge-x86> References: <20200529200031.4117841-1-arnd@arndb.de> <20200529200031.4117841-9-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200529200031.4117841-9-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 29, 2020 at 10:00:31PM +0200, Arnd Bergmann wrote: > Without that driver, there is a link failure in > > ERROR: modpost: "intel_soc_pmic_exec_mipi_pmic_seq_element" > [drivers/staging/media/atomisp/pci/atomisp_gmin_platform.ko] undefined! > > Add an explicit Kconfig dependency. > > Signed-off-by: Arnd Bergmann It'd be interesting to know if this is strictly required for the driver to work properly. The call to intel_soc_pmic_exec_mipi_pmic_seq_element has some error handling after it, maybe that should just be surrounded by an #ifdef or IS_ENABLED for PMIC_OPREGION, like some other drivers do. Regardless of that: Reviewed-by: Nathan Chancellor > --- > drivers/staging/media/atomisp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/staging/media/atomisp/Kconfig b/drivers/staging/media/atomisp/Kconfig > index c4f3049b0706..e86311c14329 100644 > --- a/drivers/staging/media/atomisp/Kconfig > +++ b/drivers/staging/media/atomisp/Kconfig > @@ -11,6 +11,7 @@ menuconfig INTEL_ATOMISP > config VIDEO_ATOMISP > tristate "Intel Atom Image Signal Processor Driver" > depends on VIDEO_V4L2 && INTEL_ATOMISP > + depends on PMIC_OPREGION > select IOSF_MBI > select VIDEOBUF_VMALLOC > ---help--- > -- > 2.26.2 >