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

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

Merge "msm: ispif: fix a bug in checking the validity of vfe intf"

parents 664cdd33 7b7534d9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ 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)
	enum msm_ispif_vfe_intf intf_type)
{
	return ((csid_version <= CSID_VERSION_V22 && intf_type != VFE0) ||
		(intf_type >= VFE_MAX)) ? false : true;