]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: Propagate default fwnode to the SPI controller device
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Jan 2026 20:21:23 +0000 (21:21 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 19 Jan 2026 14:42:51 +0000 (14:42 +0000)
commitf2d1a3318eb1ec860999db48cb8d13b43261624d
tree872797ccb0f80a6a911de49e9f2e700b1741f1d1
parent0f93dddb038ee1688d1a03f68d476902053dfa1b
spi: Propagate default fwnode to the SPI controller device

Most of the SPI controller drivers share the parent's fwnode
by explicit assignment. Propagate the default by SPI core,
so they may drop that in the code. Only corner cases may require
a special treatment and we simply (re)assign the controller's
fwnode explicitly (as it's done right now, no changes required
for that).

Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Tested-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260112203534.4186261-2-andriy.shevchenko@linux.intel.com
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-cs42l43.c
drivers/spi/spi.c