]> git.dujemihanovic.xyz Git - u-boot.git/commit
spmi: msm: properly format command
authorNeil Armstrong <neil.armstrong@linaro.org>
Fri, 5 Apr 2024 08:21:54 +0000 (10:21 +0200)
committerCaleb Connolly <caleb.connolly@linaro.org>
Tue, 23 Apr 2024 11:29:26 +0000 (13:29 +0200)
commitf0b604d9491dc92c9cb092a9e4c0fdf2036cdb8d
tree35f50afcef3efb4c3094ead4726f8b44e20de77a
parentc2de620d64d462c1404ca383ad55aecf3f5a972e
spmi: msm: properly format command

Since version 2, the cmd format has changed, takes helpers
from Linux driver and use a switch/case to handle all
versions in msm_spmi_write/read() command.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Acked-by: Caleb Connolly <caleb.connolly@linaro.org>
Signed-off-by: Caleb Connolly <caleb.connolly@linaro.org>
drivers/spmi/spmi-msm.c