]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: iris: Change psc properties message to debug level
authorVishnu Reddy <busanna.reddy@oss.qualcomm.com>
Mon, 10 Nov 2025 07:24:29 +0000 (12:54 +0530)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Tue, 20 Jan 2026 15:22:23 +0000 (16:22 +0100)
The message for attempting to set already configured input or output
parameter subscribe change properties is not an error condition.
Move it from error to debug level and make it more descriptive by
indicating which specific input or output psc was already set.

Signed-off-by: Vishnu Reddy <busanna.reddy@oss.qualcomm.com>
Reviewed-by: Vikash Garodia <vikash.garodia@oss.qualcomm.com>
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/qcom/iris/iris_hfi_gen2_command.c

index df31f452b69bb942c979475a0f628a11b84e12b0..5db00f8a5e0667dccabb6263f891ce11e13c1080 100644 (file)
@@ -813,7 +813,7 @@ static int iris_hfi_gen2_subscribe_change_param(struct iris_inst *inst, u32 plan
 
        if ((V4L2_TYPE_IS_OUTPUT(plane) && inst_hfi_gen2->ipsc_properties_set) ||
            (V4L2_TYPE_IS_CAPTURE(plane) && inst_hfi_gen2->opsc_properties_set)) {
-               dev_err(core->dev, "invalid plane\n");
+               dev_dbg(core->dev, "%cPSC already set\n", V4L2_TYPE_IS_OUTPUT(plane) ? 'I' : 'O');
                return 0;
        }