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:
Fenglin Wu <quic_fenglinw@quicinc.com>
Loading
Please register or sign in to comment