]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Support selection of the index of the ACPI Spi Resource before alloc
authorStefan Binding <sbinding@opensource.cirrus.com>
Fri, 21 Jan 2022 17:24:25 +0000 (17:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 1 Feb 2022 17:38:47 +0000 (17:38 +0000)
commit044eb32190a3077693301b3799aea345e1e2c9aa
tree0dd2b20b43f43c6c101fe1650b657d0b8fb29053
parentff04fee5f86a6cfdf1d4b2d1a8aea76aec92db3e
spi: Support selection of the index of the ACPI Spi Resource before alloc

If a node contains more than one SPI resource it may be necessary to
use an index to select which one you want to allocate a spi device for.

Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220121172431.6876-4-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c
include/linux/spi/spi.h