Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4369027pxj; Tue, 8 Jun 2021 12:35:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwj03x9CJKtjRgbX8Fgv1hqwmcpzPKVlLpKswFrqyln/p+Djxdei/SN6kUzUtUbxypSCLW0 X-Received: by 2002:aa7:dac3:: with SMTP id x3mr27284284eds.287.1623180959319; Tue, 08 Jun 2021 12:35:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623180959; cv=none; d=google.com; s=arc-20160816; b=HC08AKBX8CKwp3JXZMWMbF67B6R4XlKBiCn3NAXK5T0XEW7ewAs2O5xJq2MTVlDO24 laEpTh83ji2Qq/B5W4nuud4qYQj48u76BHIFLZRrwXHUPM8vn9jfo5nqfGzwgXJThLlJ 0RAEgyUoTFU2FfFAR4M6HPcI/BO0aujoJB+anv8jeoEGhjsDYx44iHtpITvFdge0IQBm /NF2a5fELAM351SPYmgL/J4k4TzbLJnG+0z3bhygz4NfWXqlw8Yy9vXbB2wMEcTQeBAZ pK0ZQP6pYS4UP5/gV9kdGKvQe9Mih5fZ1/DKvxFEbbKC8NkMQAVduxPd+q6oKa1S5yb3 UQtQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=uMF4aZSNceoQWTlzRSBLCjzfUUELd5zmeMGPvx49yEA=; b=XyDKUdu0jheynorF38OQlHjWgCGVnxe6Tai6LdEvdOhcL+NMi3sWx5Egw+OcZWx4J5 XxDpQ6udezIBf7s2GqM2d0HTMdV3por7zFRjIBRqpsKkVHYbVJJzz6taTJgcMGzIX37t Az/jXDDXYFzgoXfJ+B7LsDZZsX+s7f58vrzA2Jm+t5LCBz6Bd1e1uWSyhuOxidj59/1p m48BFwEoAepAURpnrJItHT1mBZnPkHaaK7Mhy6x4IWhx/GnUVLys33HipTsh7jjakY4T GFYSEpP7z0KBQNiAAO/ejYSCijQvJDGwvKPXaxU2RdVc+I06Cj89qDKnvuYeTyl+DDWd bqAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=crIv1icA; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v9si443092ejh.703.2021.06.08.12.35.35; Tue, 08 Jun 2021 12:35:59 -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=@linuxfoundation.org header.s=korg header.b=crIv1icA; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239115AbhFHTeq (ORCPT + 99 others); Tue, 8 Jun 2021 15:34:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:38996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236719AbhFHTTN (ORCPT ); Tue, 8 Jun 2021 15:19:13 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id A13F16197E; Tue, 8 Jun 2021 18:52:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623178332; bh=bjayC/n86ZXi4aIJto0xq4nLfZ8YEKcpop3tqEa+Coo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=crIv1icAsceKXFmjiIt2YigAYd6+zKNPflfa5TWlM3dupUd69er3JIiOBJNI8OcPo Rz0cLST/PUSpMu1FJBXjTT00JU0M3/LINNqLixy3BeewomtL++Xpk2K5hxIqq0v5jh 81C5YnLAV5KfqgLFkxHzuZDeC/hT2IPPVyctJHJo= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maciej Falkowski , Tony Lindgren Subject: [PATCH 5.12 156/161] ARM: OMAP1: isp1301-omap: Add missing gpiod_add_lookup_table function Date: Tue, 8 Jun 2021 20:28:06 +0200 Message-Id: <20210608175950.733646511@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210608175945.476074951@linuxfoundation.org> References: <20210608175945.476074951@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Maciej Falkowski commit 7c302314f37b44595f180198fca5ca646bce4a5f upstream. The gpiod table was added without any usage making it unused as reported by Clang compilation from omap1_defconfig on linux-next: arch/arm/mach-omap1/board-h2.c:347:34: warning: unused variable 'isp1301_gpiod_table' [-Wunused-variable] static struct gpiod_lookup_table isp1301_gpiod_table = { ^ 1 warning generated. The patch adds the missing gpiod_add_lookup_table() function. Signed-off-by: Maciej Falkowski Fixes: f3ef38160e3d ("usb: isp1301-omap: Convert to use GPIO descriptors") Link: https://github.com/ClangBuiltLinux/linux/issues/1325 Signed-off-by: Tony Lindgren Signed-off-by: Greg Kroah-Hartman --- arch/arm/mach-omap1/board-h2.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) --- a/arch/arm/mach-omap1/board-h2.c +++ b/arch/arm/mach-omap1/board-h2.c @@ -320,7 +320,7 @@ static int tps_setup(struct i2c_client * { if (!IS_BUILTIN(CONFIG_TPS65010)) return -ENOSYS; - + tps65010_config_vregs1(TPS_LDO2_ENABLE | TPS_VLDO2_3_0V | TPS_LDO1_ENABLE | TPS_VLDO1_3_0V); @@ -394,6 +394,8 @@ static void __init h2_init(void) BUG_ON(gpio_request(H2_NAND_RB_GPIO_PIN, "NAND ready") < 0); gpio_direction_input(H2_NAND_RB_GPIO_PIN); + gpiod_add_lookup_table(&isp1301_gpiod_table); + omap_cfg_reg(L3_1610_FLASH_CS2B_OE); omap_cfg_reg(M8_1610_FLASH_CS2B_WE);