Re: [PATCH v7 2/6] media: qcom: iris: Add Long-Term Reference support for encoder

From: Wangao Wang

Date: Wed May 13 2026 - 22:43:54 EST




On 2026/5/13 18:56, Dmitry Baryshkov wrote:
+ if (!ltr_count || hfi_val == INVALID_DEFAULT_MARK_OR_USE_LTR)
+ return -EINVAL;

This means that setting the property will fail if userspace has not
updated it. Please make sure that defaults don't cause errors.

+

The error returned here does not affect the encoding from running, it just prevents the invalid value from being passed to the firmware.

--
Best Regards,
Wangao