Skip to content

iio: frequency: ad9162: use -EOPNOTSUPP for uncalibrated temp read - #3510

Merged
gastmaier merged 1 commit into
analogdevicesinc:mainfrom
DiaconuGabriel:staging/ad9162-fix-enotsupp
Aug 26, 2026
Merged

gastmaier merged 1 commit into
analogdevicesinc:mainfrom
DiaconuGabriel:staging/ad9162-fix-enotsupp

Conversation

@DiaconuGabriel

Copy link
Copy Markdown
Contributor

ENOTSUPP is kernel-internal and must not reach userspace; use the standard -EOPNOTSUPP instead.

Fixes: ef0c434 ("iio: ad9162: Support die temperature reading")

PR Description

  • Please replace this comment with a summary of your changes, and add any context
    necessary to understand them. List any dependencies required for this change.
  • To check the checkboxes below, insert a 'x' between square brackets (without
    any space), or simply check them after publishing the PR.
  • If you changes include a breaking change, please specify dependent PRs in the
    description and try to push all related PRs simultaneously.

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

ENOTSUPP is kernel-internal and must not reach userspace; use the
standard -EOPNOTSUPP instead.

Fixes: ef0c434 ("iio: ad9162: Support die temperature reading")
Signed-off-by: DiaconuGabriel <Alexandrugabriel.Diaconu@analog.com>

@gastmaier gastmaier left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

downstream only, good to go

@gastmaier
gastmaier merged commit b6dc670 into analogdevicesinc:main Aug 26, 2026
21 checks passed
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