Skip to content

Conversation

@bardliao
Copy link
Collaborator

We do need to set the same bus clock scale on all Peripherals to make sure all Peripherals are running on the same frequency. But we can skip the unattached Peripherals when programing params. Because the frequency will be set when the Peripheral is attached.

Currently, we program bus clock scale index unconditionally. It is not
necessary if the new index is the same as the current one.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
…eral

The SDW_SCP_BUSCLOCK_SCALE register will be programed when the
Peripheral is attached. We can and should skip programing the
SDW_SCP_BUSCLOCK_SCALE register when the Peripheral is unattached.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant