[ion]: use default sysfs path rather than remount path

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1061 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-07-21 08:03:43 +00:00
parent 362e84eb7a
commit 1cd97ca56a

View File

@@ -204,7 +204,7 @@ RK_S32 check_sysfs_iommu()
if (!dts_info_found) {
for (i = 0; i < MPP_ARRAY_ELEMS(system_heaps); i++) {
snprintf(path, sizeof(path), "/d/ion/heaps");
snprintf(path, sizeof(path), "/sys/kernel/debug/ion/heaps");
if (find_dir_in_path(path, system_heaps[i], sizeof(path))) {
mpp_log("%s found\n", system_heaps[i]);
ret = ION_DETECT_IOMMU_ENABLE;