ASoC: WCD9310: Fix button polling frequency for tabla 2.0
For tabla version 1.0 the button press voltage threshold is
12 bit value whereas for tabla version 2.0 it is a 16-bit value.
Fix by always updating the 16-bit value, since tabla 1.0 will
just ignore the most significant 4 bits.
Change-Id: Ia421d73dddb7a192e1b51c78952ec77fab46c373
Signed-off-by:
Bhalchandra Gajare <gajare@codeaurora.org>
Loading
Please sign in to comment