Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6d69422 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: ispif: Validate vfe_intf parameter"

parents 163dd500 531a7f81
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,8 +61,8 @@ static void msm_ispif_io_dump_reg(struct ispif_device *ispif)
static inline int msm_ispif_is_intf_valid(uint32_t csid_version,
	uint8_t intf_type)
{
	return (csid_version <= CSID_VERSION_V22 && intf_type != VFE0) ?
		false : true;
        return ((csid_version <= CSID_VERSION_V22 && intf_type != VFE0) ||
                (intf_type >= VFE_MAX)) ? false : true;
}

static struct msm_cam_clk_info ispif_8626_reset_clk_info[] = {