ASoC: codecs: Add count check for swr haptics device up/down
Add count check before enabling/disabling regulator for swr
haptics. This is to ensure that count dosent get mismatched.
Change-Id: I73bb9f8ef459eea4327b9db09c430e8c2ec87adb
Signed-off-by:
Vatsal Bucha <vbucha@codeaurora.org>
Loading
Please register or sign in to comment