Commit 2116e41
committed
soundwire: generic_bandwidth_allocation: check bandwidth with real
colume
The existing code assumes the column number will not change, but it
could change if curr_dr_freq changes. Calculate the new column number
before checking the bandwidth to make the checking be more accurate.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent 2185596 commit 2116e41
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
593 | 593 | | |
594 | 594 | | |
595 | 595 | | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
596 | 599 | | |
| 600 | + | |
| 601 | + | |
597 | 602 | | |
598 | 603 | | |
599 | 604 | | |
600 | 605 | | |
601 | 606 | | |
602 | 607 | | |
603 | 608 | | |
604 | | - | |
605 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
606 | 613 | | |
607 | 614 | | |
608 | 615 | | |
| |||
664 | 671 | | |
665 | 672 | | |
666 | 673 | | |
667 | | - | |
668 | | - | |
669 | | - | |
670 | 674 | | |
671 | 675 | | |
672 | 676 | | |
| |||
0 commit comments