Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soundwire: stream: calculatethe bandwidth of active streams only
sdw_compute_group_params() will count payload bandwidth and it count all m_rt in the bus. The m_rt will be added to the bus by sdw_stream_add_master(). If 2 streams are opened simultaneously, the m_rt of the second stream will be counted when sdw_compute_group_params() is counting the payload bandwidth of the first stream. Which is incorrect. sdw_compute_group_params() should only calculate the bandwidth of the active streams and the newly preparing stream. Signed-off-by: Bard Liao <[email protected]>
- Loading branch information