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

Bard Liao posted 2 patches 1 week, 1 day ago
drivers/soundwire/bus.c       |  1 +
drivers/soundwire/stream.c    | 11 +++++++++++
include/linux/soundwire/sdw.h |  2 ++
3 files changed, 14 insertions(+)
[PATCH 0/2] soundwire: remove unnecessary scale_index programming
Posted by Bard Liao 1 week, 1 day ago
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