diff options
| author | Neil Armstrong <[email protected]> | 2025-03-28 09:53:21 +0100 |
|---|---|---|
| committer | Caleb Connolly <[email protected]> | 2025-04-10 15:43:10 +0200 |
| commit | 1a02b7aa58ae1558e2fd5c29e85c20bdf1becaae (patch) | |
| tree | fad48af0c13390728e4822314d0996b43e6eafdd /include/linux | |
| parent | 2c1462e38b771c547a1f3ee8bbea5aa9d3719885 (diff) | |
spmi: msm: use real number of channels for v5 & v7
The SPMI_MAX_CHANNELS_Vx are only the maximum channels supported
by the controller, but the real number of channels mapped on this
system can be read from a register, so take this info.
This allows no to overlap on the second controller present on
the V7 SPMI arbiter, otherwise we would also parse the mapping
of the second SPMI bus and we would bet the wrong IDs.
Signed-off-by: Neil Armstrong <[email protected]>
Tested-by: [email protected] # sdm845
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Caleb Connolly <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
