diff options
| author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2025-11-28 19:32:05 -0600 |
|---|---|---|
| committer | Bjorn Andersson <andersson@kernel.org> | 2025-11-29 15:19:45 -0600 |
| commit | 7e81fa8d809ed1e67ae9ecd52d20a20c2c65d877 (patch) | |
| tree | 2763b6af284de364c4d68fe0407220efbd618361 /tools/lib/python/kdoc/kdoc_files.py | |
| parent | cda5dc12eb12cd1dd125c2bfc8952bc498a77cba (diff) | |
remoteproc: qcom_q6v5_wcss: fix parsing of qcom,halt-regs
The "qcom,halt-regs" consists of a phandle reference followed by the
three offsets within syscon for halt registers. Thus, we need to
request 4 integers from of_property_read_variable_u32_array(), with
the halt_reg ofsets at indexes 1, 2, and 3. Offset 0 is the phandle.
With MAX_HALT_REG at 3, of_property_read_variable_u32_array() returns
-EOVERFLOW, causing .probe() to fail.
Increase MAX_HALT_REG to 4, and update the indexes accordingly.
Fixes: 0af65b9b915e ("remoteproc: qcom: wcss: Add non pas wcss Q6 support for QCS404")
Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Link: https://lore.kernel.org/r/20251129013207.3981517-1-mr.nuke.me@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions
