Commit e738d77
soundwire: cadence_master: set frame shape and divider based on actual clk freq
Frame shape and curr_dr_freq could be updated by sdw_compute_bus_params().
Peripherals will set curr_dr_freq as their frequency. Managers
should do the same. Then update frame shape according to the actual
bus frequency.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://lore.kernel.org/r/20250205074232.87537-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 2014c95 commit e738d77
1 file changed
Lines changed: 19 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1341 | 1341 | | |
1342 | 1342 | | |
1343 | 1343 | | |
1344 | | - | |
| 1344 | + | |
1345 | 1345 | | |
1346 | 1346 | | |
1347 | 1347 | | |
| |||
1355 | 1355 | | |
1356 | 1356 | | |
1357 | 1357 | | |
| 1358 | + | |
| 1359 | + | |
| 1360 | + | |
| 1361 | + | |
| 1362 | + | |
| 1363 | + | |
1358 | 1364 | | |
1359 | | - | |
| 1365 | + | |
| 1366 | + | |
1360 | 1367 | | |
1361 | 1368 | | |
1362 | 1369 | | |
1363 | 1370 | | |
1364 | 1371 | | |
1365 | 1372 | | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
1366 | 1377 | | |
1367 | 1378 | | |
1368 | 1379 | | |
| |||
1375 | 1386 | | |
1376 | 1387 | | |
1377 | 1388 | | |
| 1389 | + | |
| 1390 | + | |
1378 | 1391 | | |
1379 | 1392 | | |
1380 | 1393 | | |
| |||
1408 | 1421 | | |
1409 | 1422 | | |
1410 | 1423 | | |
| 1424 | + | |
1411 | 1425 | | |
1412 | 1426 | | |
1413 | | - | |
| 1427 | + | |
| 1428 | + | |
| 1429 | + | |
1414 | 1430 | | |
1415 | 1431 | | |
1416 | 1432 | | |
| |||
0 commit comments