From patchwork Sun Jan 3 21:41:44 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 356166 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp14485521jai; Sun, 3 Jan 2021 13:42:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJxTlvQqwayoZhYPFayTGQfr3zC36UW0/L/O8OKgTblki6Sd1bQ8IP69hmZDEzEwN8pYNjO4 X-Received: by 2002:a17:906:b2da:: with SMTP id cf26mr65754088ejb.176.1609710164880; Sun, 03 Jan 2021 13:42:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609710164; cv=none; d=google.com; s=arc-20160816; b=OcD6eOXGg2N3sgeWUwMgILdsX8/ElXGBqPCc9GLpB3jDvagNNvFyFXQhrnXORwA5Kr BKj52YGid/8zCI4MgRT+6nXwyJEt1H/wewjOfgFHiwXLhBvWhudV14KxCkJG6I+EUZ/b wbWs7gxfiiqBkfqx23V17TVS+WWqNpivja+hsLEaUqI1kFxW1WcHC4Kxk2u4j+4RI5ZO RULg705N/kh1oEW19U8bk1eLynk/jfolE7ntbap9I8TxaIKQ7QwuNoNKSgDm0cLSZsJ1 sXWD2VqI1Zi2PJ0Snd0Hf4BzUyqSO+s91bhUkksfimotjeagDN7ZBhjE4RbV4ZivJNYj 4aVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=16LV4KrKpDGyLIaXceVD1sSeCkf8xq3W3SqRnJvsmHo=; b=VPWUNQXHqD07LgqovugOBpT8zbdJDMvA0nsqQsmDoBayex8W6QGRu2xJSLCfJkszSk 6ZWp/K1yu/zIZnQi2LTmEr1f7ttlQEuJmXzKsO9zHu1eJXbRM+Xat535plq95iLoAfVl OiffV6pCciUQBBYm23V9aLeg85Bili4mAf3wy80zy5zfRMorpFoTkrfqXR1odZ53uhQT 0sk1YWr77U6iIlNya2FKbBvFLAUGaI+YP5cimwIld9n441lBKnq+RPdO97alZOQTCLVC ATIU28CUBt7LVXCK4YOQArOy8RWDkTCobwpNAajoglXiCJOPW2SwyDIKoWMJ7GAohWxU 3xrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AtkVVqe4; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si27149198ejx.0.2021.01.03.13.42.44; Sun, 03 Jan 2021 13:42:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-input-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=@kernel.org header.s=k20201202 header.b=AtkVVqe4; spf=pass (google.com: domain of linux-input-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-input-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726691AbhACVmo (ORCPT + 1 other); Sun, 3 Jan 2021 16:42:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:37608 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726688AbhACVmn (ORCPT ); Sun, 3 Jan 2021 16:42:43 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0C405207FB; Sun, 3 Jan 2021 21:42:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1609710123; bh=f5HRcpwYvpNIh4GkApBvbGLSbjNDVAx2sRZN2aNxuA0=; h=From:To:Cc:Subject:Date:From; b=AtkVVqe4hJXqaOSLdEf2zRhmdbYTBPFPgW6qaPfzPrIGKm6h+bPe/Ejp7ZdNNGn+h GC5+En6ajNRjYxT1PnTdr/+jMRDDUs4YGp/8Hv/DhFbRS9Xco+ELClcvd36Gl1xfNZ JsfZLKBpGkqgFpkQPbYPHXE9Gdad0MyFtIs6pKZd8ygnM/0yPpcSm1l2CjKzc+eNgZ rZbhxs0HvXgftE/om8VIfWmdaQXp7vPZ0MCZjR5w9v2g0chUxpqSQq8mhFa39xYFlH HciGXcCaFMd8geu4eWtraaKTso7XJOdTr6kNWBmYM7sRWeNPx8fMFyP+IviTN6LOR7 B6amMtWc9gAtA== From: Arnd Bergmann To: Jiri Kosina , Benjamin Tissoires Cc: Arnd Bergmann , Rishi Gupta , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] hid: sony: select CONFIG_CRC32 Date: Sun, 3 Jan 2021 22:41:44 +0100 Message-Id: <20210103214159.1996262-1-arnd@kernel.org> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org From: Arnd Bergmann Without crc32 support, this driver fails to link: arm-linux-gnueabi-ld: drivers/hid/hid-sony.o: in function `sony_raw_event': hid-sony.c:(.text+0x8f4): undefined reference to `crc32_le' arm-linux-gnueabi-ld: hid-sony.c:(.text+0x900): undefined reference to `crc32_le' arm-linux-gnueabi-ld: drivers/hid/hid-sony.o:hid-sony.c:(.text+0x4408): more undefined references to `crc32_le' follow Signed-off-by: Arnd Bergmann --- drivers/hid/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.29.2 diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig index 7bdda1b5b221..09fa75a2b289 100644 --- a/drivers/hid/Kconfig +++ b/drivers/hid/Kconfig @@ -899,6 +899,7 @@ config HID_SONY depends on NEW_LEDS depends on LEDS_CLASS select POWER_SUPPLY + select CRC32 help Support for