Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipc: ipc4: remove use of platform/drivers/alh.h #9047

Merged
merged 2 commits into from
Apr 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions src/include/sof/drivers/alh.h

This file was deleted.

11 changes: 3 additions & 8 deletions src/ipc/ipc4/dai.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
#include <sof/audio/component_ext.h>
#include <sof/audio/ipc-config.h>
#include <sof/common.h>
#include <sof/drivers/alh.h>
#include <rtos/idc.h>
#include <rtos/alloc.h>
#include <sof/lib/dai.h>
Expand Down Expand Up @@ -130,9 +129,8 @@ int ipc_dai_data_config(struct dai_data *dd, struct comp_dev *dev)
{
struct ipc_config_dai *dai = &dd->ipc_config;
struct ipc4_copier_module_cfg *copier_cfg = dd->dai_spec_config;
#ifdef CONFIG_ZEPHYR_NATIVE_DRIVERS
struct dai *dai_p = dd->dai;
#ifndef CONFIG_ZEPHYR_NATIVE_DRIVERS
struct alh_pdata *alh;
#endif

if (!dai) {
Expand Down Expand Up @@ -165,11 +163,8 @@ int ipc_dai_data_config(struct dai_data *dd, struct comp_dev *dev)
#ifdef CONFIG_ZEPHYR_NATIVE_DRIVERS
dd->stream_id = dai_get_stream_id(dai_p, dai->direction);
#else
alh = dai_get_drvdata(dai_p);
/* As with HDA, the DMA channel is assigned in runtime,
* not during topology parsing.
*/
dd->stream_id = alh->params.stream_id;
/* only native Zephyr driver supported */
return -EINVAL;
#endif
/* SDW HW FIFO always requires 32bit MSB aligned sample data for
* all formats, such as 8/16/24/32 bits.
Expand Down
Empty file.
17 changes: 0 additions & 17 deletions src/platform/lunarlake/include/platform/drivers/alh.h

This file was deleted.

19 changes: 0 additions & 19 deletions src/platform/meteorlake/include/platform/drivers/alh.h

This file was deleted.

6 changes: 0 additions & 6 deletions src/platform/posix/include/platform/drivers/alh.h

This file was deleted.

95 changes: 0 additions & 95 deletions src/platform/tigerlake/include/platform/drivers/alh.h

This file was deleted.