Unverified Commit 197a955c authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents fbf393fa 76b406e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ komeda_component_get_avail_scaler(struct komeda_component *c,
	u32 avail_scalers;

	pipe_st = komeda_pipeline_get_state(c->pipeline, state);
	if (!pipe_st)
	if (IS_ERR_OR_NULL(pipe_st))
		return NULL;

	avail_scalers = (pipe_st->active_comps & KOMEDA_PIPELINE_SCALERS) ^