Commit 518aee3
drivers:soundwire: qcom: cleanup port maask calculations
Cleanup the port map calculations, existing masks of having separate
masks for in and out ports is not really required.
Having a single mask for all the ports in the controller is simple and
cuts of some unnecessary code.
Signed-off-by: Srinivas Kandagatla <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>1 parent 5a4c1f0 commit 518aee3
1 file changed
+6
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
| 200 | + | |
202 | 201 | | |
203 | 202 | | |
204 | 203 | | |
| |||
1146 | 1145 | | |
1147 | 1146 | | |
1148 | 1147 | | |
1149 | | - | |
1150 | | - | |
1151 | | - | |
1152 | | - | |
1153 | | - | |
| 1148 | + | |
1154 | 1149 | | |
1155 | 1150 | | |
1156 | 1151 | | |
| |||
1195 | 1190 | | |
1196 | 1191 | | |
1197 | 1192 | | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
1205 | 1196 | | |
1206 | 1197 | | |
1207 | 1198 | | |
| |||
1401 | 1392 | | |
1402 | 1393 | | |
1403 | 1394 | | |
1404 | | - | |
1405 | | - | |
| 1395 | + | |
1406 | 1396 | | |
1407 | 1397 | | |
1408 | 1398 | | |
| |||
0 commit comments