Skip to content

Conversation

@victorzappi
Copy link

  • Remove unused parameters from configure_mfc() and configure_pcm_converter() (tag, intf_name, rate)
  • Remove unused local variables in set_agm_group_device_config()
  • Fix memory leaks in set_agm_dp_audio_config_metadata()
  • Fix usage() to display actual program name
  • Rename ambiguous parameters (val -> stream_kv, dkv -> device_kv, val -> type, val_len -> tag_config_len/p_stream_len)
  • Simplify get_tinyalsa_pcm_bit_width() control flow
  • Add const qualifier to get_pcm_format() parameter
  • Update all callers to match new signatures

- Remove unused parameters from configure_mfc() and
  configure_pcm_converter() (tag, intf_name, rate)
- Remove unused local variables in set_agm_group_device_config()
- Fix memory leaks in set_agm_dp_audio_config_metadata()
- Fix usage() to display actual program name
- Rename ambiguous parameters (val -> stream_kv, dkv -> device_kv,
  val -> type, val_len -> tag_config_len/p_stream_len)
- Simplify get_tinyalsa_pcm_bit_width() control flow
- Add const qualifier to get_pcm_format() parameter
- Update all callers to match new signatures

Signed-off-by: Victor Zappi <[email protected]>
@victorzappi victorzappi requested review from a team January 25, 2026 00:19
@victorzappi
Copy link
Author

This is an external contribution. I don't have access to the Qualcomm Change Request system. Please let me know if there's a different process for community contributions.

@victorzappi
Copy link
Author

I can't access the Coral Public CI logs (tests:qli failure) as they appear to be behind Qualcomm's internal login. Could you let me know what failed?

@Ritu-Sharma-3
Copy link

@victorzappi can you please let me know if you have validated these changes?

STREAM_COMPRESS, dev_config[index].rate, dev_config[index].ch,
dev_config[index].bits, miid)) {
if (configure_mfc(mixer, device, STREAM_COMPRESS, dev_config[index].rate,
dev_config[index].ch,dev_config[index].bits, miid)) {
Copy link

@Ritu-Sharma-3 Ritu-Sharma-3 Jan 30, 2026

Choose a reason for hiding this comment

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

Please add space after comma : between dev_config[index].ch and dev_config[index].bits

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.

2 participants