Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp54986pxy; Wed, 21 Apr 2021 18:19:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxa6+vzfLMl4SZiz75VZNmMvjn90XhKt5a5KPPIxN2x/n3UjgMn8q3fYT0DEV8ytrEcT/EW X-Received: by 2002:aa7:962f:0:b029:244:8f8f:4734 with SMTP id r15-20020aa7962f0000b02902448f8f4734mr889291pfg.49.1619054374726; Wed, 21 Apr 2021 18:19:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619054374; cv=none; d=google.com; s=arc-20160816; b=xz+kJn+LAkIZW2zs7SEqdKU+LZ+wo30XXfJWtR3wUoBn9ZWSZT908/I/xeTXHf3DUG cThpGw2yx48t9lFu74jiEIn5MNHVGDtu3htYM7YgHBdBVzcI+qO2zlYYD/1spW5BOKJH ND8J7p0+2sbk3RbOTtv6nFY6aiF3I7RNd6v4/B3W6W15bInODy6/T6gmjPFHH+O0CR0Z 87WX4R0W6fFnzs7GuAzuy77sSEXqQkIDAHie5/pcUZqvEokcEf35mzkd/DEXxAN6LsGq GCuZbCHiSGb3q1Quw4L2Q71lYLhHHx/ge1XfNW0V10U8EOVpHnvMfqfsSfyk5ST87j6J 6/Mw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Lho3dy+5uOthlenXCw19fCrgTnXe9Ut+n4YX40dwjJM=; b=vrWPddk+aD/wzmivowAL5h4b7L9THCSjtD9odJTMy68bcukg8xjzmwe5TyrckaTW+5 VxMXzB0F60AsAysl4wtGQx51Z+/o3RAUup1svYZQGENShfhGvyB/3SL4Xe3xbZj5OhmY 2hPxG0d3HUv3kuPVYQ51ZWXXUJCI6a8apOj2Azzwta2bhsDPm/b/187cqZCqM7kvIsYb BUQBswdePWzf/9uiSrGMUVRxrm67frgWKm3Rxjd/IejrMHzDh5SexSY8hIIMkUTG4GGS FysK1nKZuOyhYYNf4vKCseolJ5Cne0U8S4PNKfDAV2c3Ylwr6/MOubiPEM+ex7GW6dDF 2z/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=sn1GGJaL; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s5si1303283pgi.376.2021.04.21.18.19.23; Wed, 21 Apr 2021 18:19:34 -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=@kernel.org header.s=k20201202 header.b=sn1GGJaL; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245370AbhDUTEp (ORCPT + 99 others); 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