Commit f1b3dba
soundwire: stream: set DEPREPARED state earlier
The existing logic is problematic in that we deprepare all the ports,
but still take into account the stream for bit allocation by just
walking through the bus->m_rt list.
This patch sets the state earlier, so that such DEPREPARED streams can
be skipped in the bandwidth allocation (to be implemented in a
follow-up patch).
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20241218080155.102405-5-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent b6a2e1b commit f1b3dba
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1643 | 1643 | | |
1644 | 1644 | | |
1645 | 1645 | | |
| 1646 | + | |
1646 | 1647 | | |
1647 | 1648 | | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
1648 | 1655 | | |
1649 | 1656 | | |
1650 | 1657 | | |
1651 | 1658 | | |
1652 | 1659 | | |
1653 | 1660 | | |
1654 | 1661 | | |
| 1662 | + | |
1655 | 1663 | | |
1656 | 1664 | | |
1657 | 1665 | | |
| |||
1665 | 1673 | | |
1666 | 1674 | | |
1667 | 1675 | | |
| 1676 | + | |
1668 | 1677 | | |
1669 | 1678 | | |
1670 | 1679 | | |
| |||
1673 | 1682 | | |
1674 | 1683 | | |
1675 | 1684 | | |
| 1685 | + | |
1676 | 1686 | | |
1677 | 1687 | | |
1678 | 1688 | | |
1679 | 1689 | | |
1680 | | - | |
1681 | 1690 | | |
1682 | 1691 | | |
1683 | 1692 | | |
| |||
0 commit comments