FROMLIST: thermal: qcom-spmi-adc-tm5: drop IIO_VAL_INT check in adc_tm5_get_temp - #984
Open
JeevanPallapothu999 wants to merge 1 commit into
Conversation
JeevanPallapothu999
requested review from
a team,
Komal Bajaj (Komal-Bajaj),
Dmitry Baryshkov (lumag) and
Mukesh Ojha (mukeshojha-linux)
August 20, 2026 05:20
|
Merge Check Failed: No Change Task Found No associated change tasks found for CR 4636200 on any of the following entities: Entities:
CR: 4636200 Please ensure the CR has a change task associated with at least one of the entities for this branch. |
…5_get_temp Commit bb21ee3 ("iio: Fix iio_multiply_value use in iio_read_channel_processed_scale") fixed the iio_read_channel_processed_scale to return 0 on success instead of IIO_VAL_INT (1). The existing check in adc_tm5_get_temp() treated a successful return as an error because it expected IIO_VAL_INT. Drop the redundant `ret != IIO_VAL_INT` condition and rely solely on the negative error check. Fixes: bb21ee3 ("iio: Fix iio_multiply_value use in iio_read_channel_processed_scale") Signed-off-by: Rakesh Kota <rakesh.kota@oss.qualcomm.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> Acked-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> #from IIO Link: https://lore.kernel.org/all/20260724-adc-tm5-drop-iio-val-int-check-v1-1-0b85a0895dd7@oss.qualcomm.com/
|
change got merged on linux-next , so change tag to FROMGIT |
JeevanPallapothu999
force-pushed
the
for/adc_tm5_drop_iio_val
branch
from
August 20, 2026 05:59
5efafe3 to
6073a13
Compare
|
Merge Check Failed: CR Not Eligible for Merge CR 4636200 is not eligible for merge. The parent software image for kernel.qli.2.0 is not development complete. Entity: Please ensure the CR passes both CCT (ComponentChangeTasks) and ICT (Integration Change Tasks) validations. |
kotarake
approved these changes
Aug 20, 2026
Test Matrix
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Commit bb21ee3 ("iio: Fix iio_multiply_value use in iio_read_channel_processed_scale") fixed the
iio_read_channel_processed_scale to return 0 on success instead of IIO_VAL_INT (1). The existing check in adc_tm5_get_temp() treated a successful return as an error because it expected IIO_VAL_INT. Drop the redundant
ret != IIO_VAL_INTcondition and rely solely on the negative error check.Fixes: bb21ee3 ("iio: Fix iio_multiply_value use in iio_read_channel_processed_scale")
Reviewed-by: Jonathan Cameron jonathan.cameron@oss.qualcomm.com
Acked-by: Jonathan Cameron jonathan.cameron@oss.qualcomm.com #from IIO
Link: https://lore.kernel.org/all/20260724-adc-tm5-drop-iio-val-int-check-v1-1-0b85a0895dd7@oss.qualcomm.com/
CRs-Fixed: 4636200