Commit 5376d68
committed
fixup! soundwire: cadence_master: set frame shape and divider based on actual clk freq
Address comments from Pierre.
1. Mave the check before writing the divider registers
2. Remove the 'freq' intermediate variable which is multiplied by two
after divided by two.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>1 parent e774004 commit 5376d68
1 file changed
Lines changed: 7 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1352 | 1352 | | |
1353 | 1353 | | |
1354 | 1354 | | |
1355 | | - | |
1356 | 1355 | | |
1357 | 1356 | | |
1358 | 1357 | | |
1359 | 1358 | | |
1360 | 1359 | | |
1361 | 1360 | | |
1362 | 1361 | | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
1363 | 1368 | | |
1364 | 1369 | | |
1365 | 1370 | | |
1366 | | - | |
1367 | 1371 | | |
1368 | 1372 | | |
1369 | 1373 | | |
1370 | 1374 | | |
1371 | 1375 | | |
1372 | 1376 | | |
1373 | 1377 | | |
1374 | | - | |
1375 | | - | |
1376 | | - | |
1377 | | - | |
1378 | | - | |
1379 | | - | |
1380 | | - | |
| 1378 | + | |
1381 | 1379 | | |
1382 | 1380 | | |
1383 | 1381 | | |
| |||
0 commit comments