From patchwork Fri Dec 9 11:41:29 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 9467981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1E248607D8 for ; Fri, 9 Dec 2016 11:42:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0F72028420 for ; Fri, 9 Dec 2016 11:42:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 048F928534; Fri, 9 Dec 2016 11:42:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8D16928420 for ; Fri, 9 Dec 2016 11:42:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753736AbcLILmk (ORCPT ); Fri, 9 Dec 2016 06:42:40 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:59086 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753632AbcLILmk (ORCPT ); Fri, 9 Dec 2016 06:42:40 -0500 Received: from wuerfel.lan ([78.43.21.235]) by mrelayeu.kundenserver.de (mreue005 [212.227.15.129]) with ESMTPA (Nemesis) id 0LqpCY-1csD1q26AU-00eI88; Fri, 09 Dec 2016 12:42:28 +0100 From: Arnd Bergmann To: Mauro Carvalho Chehab Cc: Arnd Bergmann , Hans Verkuil , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] [media] s5k4ecgx: select CRC32 helper Date: Fri, 9 Dec 2016 12:41:29 +0100 Message-Id: <20161209114225.3645960-1-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 X-Provags-ID: V03:K0:tT/B6/eTYZtRgn/R+aKafJ8WUgTY+aYS53U6iC2hTu7OLBYRMbx hJrgmDJhzMMG8AqkhQ/ZgIXpB/u2tlbuEDNYoL0QzyzhY5DgNDMwwTKe7JObwykypFHBUmo Bc/eaa6nJzB+aKjFHzX99r9+Kj/txXBGifpEAbrvsUtXLIzunc8AcmHgovBvmQEkpzfX6up +6Lebjcz6x5tBuCWgbsEA== X-UI-Out-Filterresults: notjunk:1; V01:K0:lw6gULd62ck=:IvHhrzuFtyftkDRrwjsGdu 4j76ZT8T8Agrsg0T0YLeZrU8QcaVH7gzILn++csP1wTtggza/2ix4ev+tUicCsPH4XiGkefI7 r9OtuBRN3z5Lj4a7TDrSdXElkI3AJEDOPQIf9Mf3Mnhs35x/BVFd395Z7LYaF8DjvK1OPH0Zf 4iPX7cVQpRf8jCL0KaFWSPIx/2rGaJRq+9dz4nPMIKHsGaO4m2AGboX15YDwC0qISnyMmI+r7 ydxt3uLn/YKN8010vESlIW3aPAFo0fEWwpFEAqXyAd/PtDXMYJbD+YoRM9h1YtR2gPbwH8eYo fGLnllscp0+vVBOKS3m3Z5wnd5yKwUC7Tcct+e0+91vn/SgcnhbRJhSgZ++hN/QwlCHzZzk9x 7+fu5YJVu2RfT0PORL33r90+5/44l4lrr6/JcC65wt7uGnu7rIumqsJzz6rcaRCDbx1LQf09h gBB+QY1KPZJm2jxEs+ZFWVI/IlbrpdV7VPPJYZ8SNUSX0V2Hr+o1UGh1RMMsUJORQMTw3iSVK y51oZ8SHVdh464XWAQcVJseFPYOYWuYsSZ1uLEgxr79w1XPuuYGBv5fjkEw357iWosr+ZTHXl /lPYiB4/gtwC+/NvXJYz5sfQZqKRViM0THqM6LMTkVBJ6Z6AJsg9Brh4Inrvy0FVMSeTzy9NU /YtvNg4nHxyjUHzx4SVQ6zIMcckkl+4WdO9xAW/ynWikmkBVEfxXjHcuijXNFeLHH4cs= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP A rare randconfig build failure shows up in this driver when the CRC32 helper is not there: drivers/media/built-in.o: In function `s5k4ecgx_s_power': s5k4ecgx.c:(.text+0x9eb4): undefined reference to `crc32_le' This adds the 'select' that all other users of this function have. Fixes: 8b99312b7214 ("[media] Add v4l2 subdev driver for S5K4ECGX sensor") Signed-off-by: Arnd Bergmann --- drivers/media/i2c/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index b31fa6fae009..b979ea148251 100644 --- a/drivers/media/i2c/Kconfig +++ b/drivers/media/i2c/Kconfig @@ -655,6 +655,7 @@ config VIDEO_S5K6A3 config VIDEO_S5K4ECGX tristate "Samsung S5K4ECGX sensor support" depends on I2C && VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + select CRC32 ---help--- This is a V4L2 sensor-level driver for Samsung S5K4ECGX 5M camera sensor with an embedded SoC image signal processor.