diff options
| author | Krishnamoorthi M <krishnamoorthi.m@amd.com> | 2026-05-07 23:30:51 +0530 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-05-11 09:29:12 +0900 |
| commit | 422bd00b71ab42163aa3b8f8370276fe4c1581e7 (patch) | |
| tree | 102cd821aa534d4af6d91087d425a22e1e773438 /tools/perf/scripts/python/flamegraph.py | |
| parent | cb196d50a78ddae227f09b3cd0b145f74a70d241 (diff) | |
spi: amd: Set correct bus number in ACPI probe path
On platforms where the HID2 SPI controller (AMDI0063) is enumerated via
ACPI instead of PCI, amd_spi_probe() unconditionally sets bus_num to 0,
while the PCI probe path assigns bus_num 2 for HID2 controller.
Align the ACPI probe path to use the same bus number so that userspace
and SPI client drivers see a consistent bus assignment regardless of the
enumeration method.
Fixes: b644c2776652 ("spi: spi_amd: Add PCI-based driver for AMD HID2 SPI controller")
Cc: stable@vger.kernel.org # v6.16+
Signed-off-by: Krishnamoorthi M <krishnamoorthi.m@amd.com>
Link: https://patch.msgid.link/20260507180051.4158674-1-krishnamoorthi.m@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
