Message ID | 20230306182913.87231-1-andriy.shevchenko@linux.intel.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp2008225wrd; Mon, 6 Mar 2023 10:39:30 -0800 (PST) X-Google-Smtp-Source: AK7set+KSjx4ZZIVYXpCHGIUycCTBp7jJf+BZ5lSUL+t7ldLuFqf8HMA1IjiP7GYHEd9bcZTvkEF X-Received: by 2002:a17:906:af8b:b0:879:2a5:dc3c with SMTP id mj11-20020a170906af8b00b0087902a5dc3cmr10892731ejb.40.1678127970301; Mon, 06 Mar 2023 10:39:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678127970; cv=none; d=google.com; s=arc-20160816; b=CB9xSVcnKQLCO6wXMQL+Ulxkf4lmBAqcSkjxz8oPjWLrYlBt+arVzhOnMN3SzaezEX 5te0TfNFGBCprHuhMDRKVzIiIU93lqnkXJTXblQIUrk6T5xDU63xacmFK1gxxmtW3Ue2 339RbZwubSMKegWHF8msBcYqqVA+iw3F1p48swU+l3y/0UhvKAB2Cg9h12PYsUzKQknL ymIxaOXTZEHPEH3c3+Hb1buIpclT5Gcx8/3WQDagWQkmIbPLJJ5LilKU3/T0Yuts+eXL ASEiaA3Yy4E2NSkRcRCo7ytMsHuA0SiPmaecUjXwhhEPhcNEEO7U9/WaHnHOLZSZkNw/ WIOQ== 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=bvSJG849W3RJmxkxc3HeOaN8oGYTO5md2zxAW4xS0cM=; b=G0HFSX/KNrany8kPj6i+6OD2f2WpBh8ojjKWnEZWWHg/uY7RLW53Ud1ol3gLyLnh9e ZG7A1TpUu+T+ogdNRAyxcUahf2OV0aVmz+4HTHylMf+H2MKbqcgunk6BkQpyxLJvZ7ZV Qx1HRaGcBMH+0JkOQpogSNbFL3tMshDZXFbNlRFjwe7cg85AGp7jUpdIg1ZhUSUqYdym +mirYJrm4FShg4EvlIpN0LV2SZ4yyVTKL5KIy1DlSsLYJtuqomA93u8vUhq0+SIDlOzD ugzCPFhHjEJ2akXsOL8ogWtTYDQBloRvuayzuygr2oDdUBIxX1Y6D2F/5Lpedx7Tcjxd KfnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HQ3uunTV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y15-20020aa7cccf000000b004af63c1baf5si10509470edt.565.2023.03.06.10.39.06; Mon, 06 Mar 2023 10:39:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=HQ3uunTV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230177AbjCFS3M (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 13:29:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230180AbjCFS3F (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 13:29:05 -0500 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69B8FCA29; Mon, 6 Mar 2023 10:28:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1678127333; x=1709663333; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=1ax5g14lSVc66zIwDmHHBnU+JvCUysUQMQFqDH3oZeo=; b=HQ3uunTVrAB3m2l3UB+opL+OLTylFu0VZKj3DFOSVgDepxZP507A9xIt xyraI7XLAM5TYjyevzxo86XyxvIxs1bfbbBUbP3NZToT6iAzykR+Z5QHa 12FxoSbRlypwg2CQqHN/Qb1wkJQrXHU8wRv+1wFTz1w06+rvGHZQdp+V2 DLhXzAvNjoGuM410S3v9NzkDWdiPrsoDQkTv+ZiDWt9UcBhmJQL1fsaKX ufNH8S9oCXOHVTBkR1PrX27r86AYhwTJ1Ggc3fVgndP/fznK79DDCBq5j 9c2R66cBiYypyss8XNamWIIqcKOZpIzhMVcBY1TfFVF/5vBiJbCm12P5/ Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="335658517" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="335658517" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Mar 2023 10:28:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10641"; a="678585698" X-IronPort-AV: E=Sophos;i="5.98,238,1673942400"; d="scan'208";a="678585698" Received: from black.fi.intel.com ([10.237.72.28]) by fmsmga007.fm.intel.com with ESMTP; 06 Mar 2023 10:28:31 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id E5AC7143; Mon, 6 Mar 2023 20:29:14 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Mark Brown <broonie@kernel.org>, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Subject: [PATCH v1 1/1] spi: Propagate firmware node Date: Mon, 6 Mar 2023 20:29:13 +0200 Message-Id: <20230306182913.87231-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759644714191048285?= X-GMAIL-MSGID: =?utf-8?q?1759644714191048285?= |
Series |
[v1,1/1] spi: Propagate firmware node
|
|
Commit Message
Andy Shevchenko
March 6, 2023, 6:29 p.m. UTC
Propagate firmware node by using a specific API call, i.e. device_set_node().
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/spi/spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Comments
On Mon, 06 Mar 2023 20:29:13 +0200, Andy Shevchenko wrote: > Propagate firmware node by using a specific API call, i.e. device_set_node(). > > Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Thanks! [1/1] spi: Propagate firmware node commit: c7cc588bf0054ce33a11b98d05859105c046c706 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
diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c index 798030c0c5ce..295d02e7f0a8 100644 --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -2368,8 +2368,8 @@ of_register_spi_device(struct spi_controller *ctlr, struct device_node *nc) /* Store a pointer to the node in the device structure */ of_node_get(nc); - spi->dev.of_node = nc; - spi->dev.fwnode = of_fwnode_handle(nc); + + device_set_node(&spi->dev, of_fwnode_handle(nc)); /* Register the new device */ rc = spi_add_device(spi);