[PATCH 0/3] soundwire: allocate device_number with IDA

From: Bard Liao
Date: Tue Aug 23 2022 - 00:46:19 EST


The device_number is currently allocated in the scope of each bus and does
not need to be unique at the system level.
This leads e.g. on Dell devices with three or four Device1 on different
bus segments. To make the device_number unique at the system level, and
unified with the HDaudio/iDISP SDI values, this series allocates the
dev_number with an IDA restricted between 4 and 11 (inclusive).

Pierre-Louis Bossart (3):
soundwire: bus: rename sdw_ida as sdw_bus_ida
soundwire: bus: allow device number to be unique at system level
soundwire: intel: set dev_num_ida_min

drivers/soundwire/bus.c | 29 ++++++++++++++++++++---------
drivers/soundwire/intel.c | 4 ++++
include/linux/soundwire/sdw.h | 4 ++++
3 files changed, 28 insertions(+), 9 deletions(-)

--
2.25.1