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

Commit c38c0c90 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

input: qcom-hv-haptics: discard 1-byte FIFO write for HAP_PTN_V2



For haptics module with HAP_PTN_V2 revision, the HW would only read 1
valid byte in every 4 bytes if the 1-byte FIFO write clashes with the
FIFO read operation. To avoid this, don't use 1-byte write but just
pad zeros at end of the pattern to keep the samples 4-byte aligned
and always use 4-byte write for FIFO programming.

Change-Id: I3ebde0fe7378c0dcffb5c51e15e6ffaae5af3e29
Signed-off-by: default avatarFenglin Wu <quic_fenglinw@quicinc.com>
parent b3a8a1b1
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