Commit 57a7138
dmaengine: qcom: bam_dma: Avoid writing unavailable register
Avoid writing unavailable register in BAM-Lite mode.
BAM_DESC_CNT_TRSHLD register is unavailable in BAM-Lite
mode. Its only available in BAM-NDP mode. So only write
this register for clients who is using BAM-NDP.
Signed-off-by: Md Sadre Alam <quic_mdalam@quicinc.com>
Link: https://lore.kernel.org/r/20241220094203.3510335-1-quic_mdalam@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>1 parent 3082137 commit 57a7138
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
| |||
398 | 401 | | |
399 | 402 | | |
400 | 403 | | |
| 404 | + | |
401 | 405 | | |
402 | 406 | | |
403 | 407 | | |
| |||
441 | 445 | | |
442 | 446 | | |
443 | 447 | | |
444 | | - | |
445 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
446 | 452 | | |
447 | 453 | | |
448 | 454 | | |
| |||
1000 | 1006 | | |
1001 | 1007 | | |
1002 | 1008 | | |
1003 | | - | |
1004 | | - | |
1005 | | - | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
1006 | 1013 | | |
1007 | 1014 | | |
1008 | 1015 | | |
| |||
1192 | 1199 | | |
1193 | 1200 | | |
1194 | 1201 | | |
1195 | | - | |
1196 | | - | |
| 1202 | + | |
| 1203 | + | |
1197 | 1204 | | |
1198 | | - | |
| 1205 | + | |
| 1206 | + | |
1199 | 1207 | | |
1200 | 1208 | | |
1201 | 1209 | | |
| |||
0 commit comments