Files
linux/drivers/spmi
Stephen Boyd eba9718ed2 spmi: pmic-arb: Always allocate ppid_to_apid table
After commit 7f1d4e58da ("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 <[email protected]>
Cc: Kiran Gunda <[email protected]>
Fixes: 7f1d4e58da ("spmi: pmic-arb: optimize table lookups")
Signed-off-by: Stephen Boyd <[email protected]>
Tested-by: Luca Weiss <[email protected]>
Reviewed-by: Kiran Gunda <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2017-07-17 15:00:47 +02:00
..
…