提交 26724934 编写于 作者: Y Yuanzheng Song

add dma_heap in GetDeviceBasePath()

issue: #I4QE9K
Signed-off-by: NYuanzheng Song <songyuanzheng@huawei.com>
上级 2034d773
...@@ -385,6 +385,8 @@ static const char *GetDeviceBasePath(const char *subsystem) ...@@ -385,6 +385,8 @@ static const char *GetDeviceBasePath(const char *subsystem)
devPath = "/dev/snd"; devPath = "/dev/snd";
} else if (STRINGEQUAL(subsystem, "functionfs")) { } else if (STRINGEQUAL(subsystem, "functionfs")) {
devPath = "/dev/functionfs"; devPath = "/dev/functionfs";
} else if (STRINGEQUAL(subsystem, "dma_heap")) {
devPath = "/dev/dma_heap";
} else { } else {
devPath = "/dev"; devPath = "/dev";
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册