ASoC: wsa883x: Add support for VBAT monitor

Add support for VBAT monitor on WSA883x speaker amplifier
for signal profiling.

Change-Id: I1544b601ac9ee4e8ed6da3839cc46914bbae5d93
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2020-01-04 01:52:53 +05:30
committed by Gerrit - the friendly Code Review server
szülő 11c35ea451
commit eecf60dcb5
2 fájl változott, egészen pontosan 59 új sor hozzáadva és 7 régi sor törölve

Fájl megtekintése

@@ -1,6 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2019, The Linux Foundation. All rights reserved.
* Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
*/
#ifndef WSA883X_INTERNAL_H
@@ -118,6 +118,7 @@ struct wsa883x_priv {
void *handle;
int (*register_notifier)(void *handle,
struct notifier_block *nblock, bool enable);
struct delayed_work vbat_work;
};
static int32_t wsa883x_resource_acquire(struct snd_soc_component *component,