asoc: wcd9xxx-core: avoid slimbus read/write during ADSP SSR

This reverts commit 40bc50d768038c04f8c1 ("mfd: wcd9xxx-core:
Synchronize codec down and reset calls from slimbus.").
This is to make sure that the dev_up flag is set right
after device_down is called from Slimbus after ADSP SSR.
This flag helps make sure that all read/write calls over
slimbus are blocked until ADSP and Slimbus are fully up
post-SSR.

Change-Id: I5595a23a0b51f2ca392ddfb5773b057204185b54
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
This commit is contained in:
Banajit Goswami
2017-10-20 22:29:42 -07:00
committed by Gerrit - the friendly Code Review server
szülő abebf0b484
commit f6bc7130d2
2 fájl változott, egészen pontosan 17 új sor hozzáadva és 34 régi sor törölve

Fájl megtekintése

@@ -350,7 +350,7 @@ struct wcd9xxx {
int (*post_reset)(struct wcd9xxx *wcd9xxx);
void *ssr_priv;
unsigned long dev_up;
bool dev_up;
u32 num_of_supplies;
struct regulator_bulk_data *supplies;