mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
asoc: wcd938x: reinit registers after SSR
Reinit wcd registers after SSR. Change-Id: I5a8f22e4f76ffd8b279d1513eaa2f50973e3408c Signed-off-by: Meng Wang <mengw@codeaurora.org>
This commit is contained in:
parent
f6dc08395d
commit
efbe46a1c5
1 changed files with 2 additions and 0 deletions
|
|
@ -1538,6 +1538,7 @@ static int wcd938x_event_notify(struct notifier_block *block,
|
|||
wcd938x_reset(wcd938x->dev);
|
||||
wcd938x_get_logical_addr(wcd938x->tx_swr_dev);
|
||||
wcd938x_get_logical_addr(wcd938x->rx_swr_dev);
|
||||
wcd938x_init_reg(component);
|
||||
regcache_mark_dirty(wcd938x->regmap);
|
||||
regcache_sync(wcd938x->regmap);
|
||||
/* Initialize MBHC module */
|
||||
|
|
@ -2860,6 +2861,7 @@ static int wcd938x_probe(struct platform_device *pdev)
|
|||
return -ENOMEM;
|
||||
|
||||
dev_set_drvdata(dev, wcd938x);
|
||||
wcd938x->dev = dev;
|
||||
|
||||
pdata = wcd938x_populate_dt_data(dev);
|
||||
if (!pdata) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue