msm: scm-io: Replace open-coded register call with SCM atomic
Instead of open-coding the SCM register calling convention, use the SCM atomic apis. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
committed by
Bryan Huntsman
parent
551cd96450
commit
e2016608c6
@@ -16,6 +16,7 @@
|
||||
#define SCM_SVC_PIL 0x2
|
||||
#define SCM_SVC_UTIL 0x3
|
||||
#define SCM_SVC_TZ 0x4
|
||||
#define SCM_SVC_IO 0x5
|
||||
#define SCM_SVC_TZSCHEDULER 0xFC
|
||||
|
||||
extern int scm_call(u32 svc_id, u32 cmd_id, const void *cmd_buf, size_t cmd_len,
|
||||
|
||||
Reference in New Issue
Block a user