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:
Stephen Boyd
2011-07-18 10:36:54 -07:00
committed by Bryan Huntsman
parent 551cd96450
commit e2016608c6
2 changed files with 8 additions and 31 deletions

View File

@@ -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,