msm: iommu: Add ref-counting to attach and detach

Add ref-counting of attaching and detaching to support
sharing of context banks between multiple clients.

Change-Id: I778ad88b9c2608433c694497b8d13f6dfdd10d02
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
3 files changed