From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B1A27C433B4 for ; Wed, 21 Apr 2021 19:04:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8136561461 for ; Wed, 21 Apr 2021 19:04:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245374AbhDUTEp (ORCPT ); Wed, 21 Apr 2021 15:04:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:35432 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245356AbhDUTEo (ORCPT ); Wed, 21 Apr 2021 15:04:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 47AF861454; Wed, 21 Apr 2021 19:04:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1619031850; bh=EUamgAcBScttg/wRJDAg/kzndRLDlqHrPak55dTAxiA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sn1GGJaL6FbTz2sIQBc9TIgqmuQdTUPtoFsF297z00vXBoWGzxsQ93Oj28EEkgHi8 WDH0KN7+oUAvQnBIox2vGRQI7isMNdC/2k0P6Fg1QRGQxtOsDeQ2+zP4FetzMJYc4O lo1jJVQqpgRa+ZmquRRH9dVKIqk7f2//2Kr/dBhyZI8sQyCEI35arIS3m2F+QDHSuk Wnbg9CTiaDJd33MLLdYidFdpwds/RaIspR81oXB233iWlh1LSr+Ai4DPM3OMrUWfns FKB5ilUlT/YfWaT7aEykW/1XPO3jVVU8qoptHDB1eGMWbYRIt+gP9hO4b9JagmJw6x tCZzIXuxa3P4g== From: Mark Brown To: Charles Keepax , saravanak@google.com Cc: Mark Brown , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, linus.walleij@linaro.org Subject: Re: [PATCH] spi: Make of_register_spi_device also set the fwnode Date: Wed, 21 Apr 2021 20:03:26 +0100 Message-Id: <161903040535.13608.1822731950090796402.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210421101402.8468-1-ckeepax@opensource.cirrus.com> References: <20210421101402.8468-1-ckeepax@opensource.cirrus.com> 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 On Wed, 21 Apr 2021 11:14:02 +0100, Charles Keepax wrote: > Currently, the SPI core doesn't set the struct device fwnode pointer > when it creates a new SPI device. This means when the device is > registered the fwnode is NULL and the check in device_add which sets > the fwnode->dev pointer is skipped. This wasn't previously an issue, > however these two patches: > > commit 4731210c09f5 ("gpiolib: Bind gpio_device to a driver to enable > fw_devlink=on by default") > commit ced2af419528 ("gpiolib: Don't probe gpio_device if it's not the > primary device") > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: Make of_register_spi_device also set the fwnode commit: 0e793ba77c18382f08e440260fe72bc6fce2a3cb All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark