diff options
| author | Kiran Gunda <kgunda@codeaurora.org> | 2017-07-28 12:40:40 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-28 13:51:19 +0200 |
| commit | 4788e613a65df19dbfc481473859c70b23eb5404 (patch) | |
| tree | 0432d396e1add31321aa1d720dc913c28a453978 /tools/perf/scripts/python/netdev-times.py | |
| parent | spmi: pmic-arb: optimize qpnpint_irq_set_type function (diff) | |
| download | linux-4788e613a65df19dbfc481473859c70b23eb5404.tar.gz linux-4788e613a65df19dbfc481473859c70b23eb5404.zip | |
spmi: pmic-arb: fix memory allocation for mapping_table
Allocate the correct memory size (max_pmic_peripherals) for the
mapping_table that holds the apid to ppid mapping. Also use a local
variable for mapping_table for better alignment of the code.
Fixes: 987a9f128b8a ("spmi: pmic-arb: Support more than 128 peripherals")
Signed-off-by: Kiran Gunda <kgunda@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
