mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
dsp: ion_vm: adapt to new interfaces
Add new interfaces stub functions for Dolby security change, since ion_vm share the same header file with ion. Change-Id: Iaac5931a9c97eafe1a8cc5980ac70b9a62288faa Signed-off-by: King Tam <kingt@codeaurora.org>
This commit is contained in:
parent
0965ec588f
commit
4f4ebc9228
1 changed files with 25 additions and 0 deletions
|
|
@ -647,6 +647,31 @@ err:
|
|||
}
|
||||
EXPORT_SYMBOL(msm_audio_ion_alloc);
|
||||
|
||||
int msm_audio_ion_phys_free(void *handle,
|
||||
dma_addr_t *paddr,
|
||||
size_t *pa_len,
|
||||
u8 assign_type,
|
||||
int id,
|
||||
int key)
|
||||
{
|
||||
handle = NULL;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(msm_audio_ion_phys_free);
|
||||
|
||||
int msm_audio_ion_phys_assign(void **handle, int fd,
|
||||
dma_addr_t *paddr, size_t *pa_len, u8 assign_type, int id)
|
||||
{
|
||||
*handle = NULL;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(msm_audio_ion_phys_assign);
|
||||
|
||||
bool msm_audio_is_hypervisor_supported(void)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
EXPORT_SYMBOL(msm_audio_is_hypervisor_supported);
|
||||
/**
|
||||
* msm_audio_ion_import-
|
||||
* Import ION buffer with given file descriptor
|
||||
|
|
|
|||
Loading…
Reference in a new issue