Skip to content

Conversation

@nunojsa
Copy link
Collaborator

@nunojsa nunojsa commented Dec 2, 2025

PR Description

With commit 5547b3a ("iio: adc: adrv9002: support RX port switching") we now return -EINVAL in adrv9002_get_init_carrier(). However, the function footprint was not updated and we kept returning u64 which is obviously wrong. Update the function to return int and get the carrier as an argument pointer.

Fixes: 5547b3a ("iio: adc: adrv9002: support RX port switching")

PR Type

  • Bug fix (a change that fixes an issue)
  • New feature (a change that adds new functionality)
  • Breaking change (a change that affects other repos or cause CIs to fail)

PR Checklist

  • I have conducted a self-review of my own code changes
  • I have compiled my changes, including the documentation
  • I have tested the changes on the relevant hardware
  • I have updated the documentation outside this repo accordingly
  • I have provided links for the relevant upstream lore

With commit 5547b3a ("iio: adc: adrv9002: support RX port
switching") we now return -EINVAL in adrv9002_get_init_carrier().
However, the function footprint was not updated and we kept returning
u64 which is obviously wrong. Update the function to return int and get
the carrier as an argument pointer.

Fixes: 5547b3a ("iio: adc: adrv9002: support RX port switching")
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
@cseci
Copy link
Collaborator

cseci commented Dec 2, 2025

Linux Test Harness results now available here.

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.

3 participants