commit | 6e9eb380b238a324a96fe78afcae4148ca5404ca | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Fri Jan 08 12:50:24 2016 -0800 |
committer | David Collins <collinsd@codeaurora.org> | Thu Jan 12 11:01:31 2017 -0800 |
tree | e2b91c720c09ffa40e7658acf0cb860c534f3f1a | |
parent | 39155b6629885ff08913a166914bdbfff7b4c23c [diff] |
spmi: pmic-arb: optimize table lookups The current driver uses a mix of radix tree and a fwd lookup table to translate between apid and ppid. It is buggy and confusing. Instead simply use a radix tree for v1 hardware and use the forward lookup table for v2. Change-Id: I74e1dc0c3dbbf2b311786af7d80a9d4810d510d7 Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>