[PATCH 0/2] Update handling of min and max channel in DisCo

From: Charles Keepax

Date: Mon Nov 09 2026 - 12:45:13 EST


The DisCo properties "mipi-sdw-min-channel-number" and
"mipi-sdw-max-channel-number" are both channel indexes rather than
counts. Update the kernel code to more accurately reflect this.

There are a few Qualcomm drivers that likely specify these incorrect,
min_ch=1, max_ch=X, rather than min_ch=0, max_ch=X-1, however these
should work fine as the number of supported channels is equivalent.
If people feel strongly I can send another series to fix those up.

Charles Keepax (2):
soundwire: Improve channel min/max comments
soundwire: Assume default maximum valid channel if not specified

drivers/soundwire/mipi_disco.c | 14 ++++++++------
include/linux/soundwire/sdw.h | 4 ++--
2 files changed, 10 insertions(+), 8 deletions(-)

--
2.47.3