diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2017-06-26 19:17:46 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-17 15:00:47 +0200 |
commit | eba9718ed25b2f8a3c066bf985edd5046485a018 (patch) | |
tree | 0b33424797c6bdefb02e846490518004e9d37664 /drivers/hv/channel.c | |
parent | 6b71016e4b253172545e8388ff646f0dcbda18a8 (diff) | |
download | blackbird-op-linux-eba9718ed25b2f8a3c066bf985edd5046485a018.tar.gz blackbird-op-linux-eba9718ed25b2f8a3c066bf985edd5046485a018.zip |
spmi: pmic-arb: Always allocate ppid_to_apid table
After commit 7f1d4e58dabb ("spmi: pmic-arb: optimize table
lookups") we always need the ppid_to_apid table regardless of the
version of pmic arbiter we have. Otherwise, we will try to deref
the array when we don't allocate it on v2 hardware like the
msm8974 SoCs.
Cc: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Cc: Kiran Gunda <kgunda@codeaurora.org>
Fixes: 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups")
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Tested-by: Luca Weiss <luca@z3ntu.xyz>
Reviewed-by: Kiran Gunda <kgunda@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv/channel.c')
0 files changed, 0 insertions, 0 deletions