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

Skip to content
Commit 88e1ac5c authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam
Browse files

soc: qcom: smd: Support multiple of 32 SMD fifo size



In current code the SMD FIFO size is expect to be power of two
and the read_avail and write_avail calculation are based on
fifo_mask which will not work if the SMD FIFO size is not power
of two.

Add code to support SMD FIFO sizes which are multiple of 32 and
update the read_avial and write_avail code accordingly.

CRs-Fixed: 688362
Change-Id: I4425166aace6509e5f5ce75c9f949bc30a56a54a
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent 3dda8f02
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment