ASoC: wcd938x: Add support for codec wakeup

Add an API to wakeup codec from sleep.

Change-Id: I90de653947f794cbc4a47a91bd5f22251440ef75
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
This commit is contained in:
Sudheer Papothi
2018-09-05 05:43:51 +05:30
committed by Gerrit - the friendly Code Review server
szülő 4d31c00084
commit d1c3e9b51e
2 fájl változott, egészen pontosan 22 új sor hozzáadva és 1 régi sor törölve

Fájl megtekintése

@@ -79,7 +79,6 @@ struct wcd938x_priv {
struct codec_port_info
rx_port_mapping[MAX_PORT][MAX_CH_PER_PORT];
struct regulator_bulk_data *supplies;
struct notifier_block nblock;
/* wcd callback to bolero */
void *handle;
@@ -87,6 +86,7 @@ struct wcd938x_priv {
int (*register_notifier)(void *handle,
struct notifier_block *nblock,
bool enable);
int (*wakeup)(void *handle, bool enable);
u32 version;
/* Entry for version info */
struct snd_info_entry *entry;