[PATCH 0/2] soundwire: remove unnecessary scale_index programming

From: Bard Liao

Date: Wed Mar 25 2026 - 08:13:44 EST


We can skip the unattached Peripherals when programing the scale_index
register. Because the frequency will be set when the Peripheral is
attached. And It is not necessary to program the scale_index if the new
index is the same as the current one.

Bard Liao (2):
soundwire: don't program SDW_SCP_BUSCLOCK_SCALE on a unattached
Peripheral
soundwire: record Peripheral scale_index

drivers/soundwire/bus.c | 1 +
drivers/soundwire/stream.c | 11 +++++++++++
include/linux/soundwire/sdw.h | 2 ++
3 files changed, 14 insertions(+)

--
2.43.0