-
Notifications
You must be signed in to change notification settings - Fork 918
Staging/madura dpd adv stat #3034
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
base: main
Are you sure you want to change the base?
Conversation
nunojsa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment
drivers/iio/adc/adrv902x/adrv9025.c
Outdated
|
|
||
| if (ret) { | ||
| seq_printf(s, "Error: Failed to get DPD status for TX%u\n", chan); | ||
| return 0; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The above is odd! Normal dev_err() plus proper return ret
drivers/iio/adc/adrv902x/adrv9025.c
Outdated
| mutex_lock(&phy->lock); | ||
| ret = adi_adrv9025_DpdStatusGet_v2(phy->madDevice, txChannel, &dpdStatus); | ||
| mutex_unlock(&phy->lock); | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: could avoid this blank line
Fix memory leak for phy->agcConfig by using devm_kzalloc for allocating memory instead of kzalloc. Fixes: 43f0025 ("drivers: iio: adc: madura: adrv9025.c: AGC settings") Signed-off-by: George Mois <george.mois@analog.com>
Add per-channel debugfs entries that provide comprehensive DPD (Digital Pre-Distortion) performance metrics and diagnostics. Signed-off-by: George Mois <george.mois@analog.com>
d875137 to
d879c98
Compare
|
V2
|
PR Description
Add per-channel debugfs entries that provide comprehensive DPD (Digital Pre-Distortion) performance metrics and diagnostics.
PR Type
PR Checklist