Re: [RFC PATCH 0/2] soundwire: introduce controller ID

From: Srinivas Kandagatla
Date: Thu Nov 23 2023 - 05:50:27 EST




On 17/10/2023 17:09, Pierre-Louis Bossart wrote:
This patchset is an alternate proposal to the solution suggested in
[1], which breaks Intel machine drivers.

The only difference is to use a known controller ID instead of an IDA,
which wouldn't work with the hard-coded device name.

This patchset was tested on Intel and AMD platforms, testing on
Qualcomm platforms is required - hence the RFC status.

[1] https://lore.kernel.org/alsa-devel/20231004130243.493617-1-krzysztof.kozlowski@xxxxxxxxxx/

Tested on X13s.

Tested-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>


--srini

Krzysztof Kozlowski (1):
soundwire: fix initializing sysfs for same devices on different buses

Pierre-Louis Bossart (1):
soundwire: bus: introduce controller_id

drivers/soundwire/amd_manager.c | 8 ++++++++
drivers/soundwire/bus.c | 4 ++++
drivers/soundwire/debugfs.c | 2 +-
drivers/soundwire/intel_auxdevice.c | 3 +++
drivers/soundwire/master.c | 2 +-
drivers/soundwire/qcom.c | 3 +++
drivers/soundwire/slave.c | 12 ++++++------
include/linux/soundwire/sdw.h | 4 +++-
sound/soc/intel/boards/sof_sdw.c | 4 ++--
9 files changed, 31 insertions(+), 11 deletions(-)