Skip to content

Conversation

@mohsRafi
Copy link
Contributor

Remove unnecessary header dependencies to improve build compatibility with Debian-based systems. Clean up the audioreach driver code to address compilation warnings including missing function prototypes and undefined symbols.

These changes have been tested and verified on QCS6490-RB3gen2 and Lemans-EVK development boards.

…nings

Remove unnecessary header dependencies to improve build compatibility
with Debian-based systems. Clean up the audioreach driver code to
address compilation warnings including missing function prototypes
and undefined symbols.

These changes have been tested and verified on QCS6490-RB3gen2 and
Lemans-EVK development boards.

Signed-off-by: Mohammad Rafi Shaik <mohammad.rafi.shaik@oss.qualcomm.com>
@quic-aditrath quic-aditrath linked an issue Oct 30, 2025 that may be closed by this pull request
Copy link
Contributor

@quic-aditrath quic-aditrath left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

return qcs6490_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup);
}

static int qcs6490_snd_startup(struct snd_pcm_substream *substream)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not getting the context of this change. How is it related to debian compilation? I thought we are just duplicating definitions from header files which are not residing in /inc

Copy link
Contributor Author

@mohsRafi mohsRafi Nov 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in existing machine driver in upstream, the startup snd-ops function defined in sound/soc/qcom/sdw.c and not in machine driver, the function declarations done in sound/soc/qcom/sdw.c not in Include.

As part of independed machine driver compilation startup defined in machine driver since it's driver specific snd ops.

ret = fifo_pop(&backup);
if (ret < 0)
AUDIO_PKT_ERR("Failed to pop backup ports from FIFO\n");
dev_dbg(dev, "Failed to pop backup ports from FIFO\n");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there AUDIO_PKT_DBG macro? Is AUDIO_PKT_ERR defined to allow log level change at run-time?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AUDIO_PKT_DBG macro not available and there is no log level AUDIO_PKT_ERR.

@quic-aditrath
Copy link
Contributor

Please help rebase the PR, Observing conflicts in audioreach-driver/q6apm_audio_pkt.c file

@mohsRafi
Copy link
Contributor Author

mohsRafi commented Dec 5, 2025

sure will rebase the PR by resolving conflicts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fails to build on Debian system

3 participants