input: misc: qti-haptics: Add some corrections in the driver

Following corrections are added:
 -- Read "qcom,lra-auto-resonance-disable" from the effect child node,
  as that property is under per effect configuration.
 -- Don't stop playing in play IRQ handler: Play IRQ is intended for
  notifying the pattern has been copied into the shadow buffer instead
  of playing done.
 -- Toggle PLAY bit when playing pattern to make the vibration stop
  immediately after the pattern is played.
 -- Always set BRAKE_EN bit regardless of the brake pattern, it helps
  the module stop playing waveform sample immediately after the valid
  values are played.
 -- Play rate may be changed after playing a predefined effect, set
  play rate back to default play rate when playing a constant waveform.
 -- Add debug log to show all of the predefined effect settings.

Change-Id: I15548bb73684e978c87f3cbb9d616b87a2d652bd
Signed-off-by: Fenglin Wu <fenglinw@codeaurora.org>
1 file changed