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

Commit fd816fad authored by Yan He's avatar Yan He
Browse files

msm: sps: fix a bug for pipe disable



Fix a bug in pipe disable where the pointer to the address should
be used.

Change-Id: Ia683f63caeedbe709a3f8374845e071954f3b1ed
Signed-off-by: default avatarYan He <yanhe@codeaurora.org>
parent e95bedaa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2443,7 +2443,7 @@ int sps_pipe_disable(unsigned long dev, u32 pipe)
	SPS_DBG(bam, "sps:%s; BAM: %pa; pipe index:%d.\n",
		__func__, BAM_ID(bam), pipe);

	bam_disable_pipe(bam->base, pipe);
	bam_disable_pipe(&bam->base, pipe);

	return 0;
}