asoc: wcd937x: use swr device wakeup api

Use device wakeup api exposed by soundwire to
vote and unvote for soundwire master for mbhc
operations.

Change-Id: Id83c8d3fb2eb351133790f69af56e4981bcac543
Signed-off-by: Ramprasad Katkam <katkam@codeaurora.org>
Šī revīzija ir iekļauta:
Ramprasad Katkam
2018-10-23 18:25:30 +05:30
revīziju iesūtīja Meng Wang
vecāks 6abd2debae
revīzija b6dda1e6be
3 mainīti faili ar 25 papildinājumiem un 2 dzēšanām

Parādīt failu

@@ -70,7 +70,6 @@ struct wcd937x_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;
@@ -78,7 +77,7 @@ struct wcd937x_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;