Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f295f68b authored by Phani Kumar Uppalapati's avatar Phani Kumar Uppalapati
Browse files

ASoC: wcd9xxx: Notify RCO is ON after CLK MUX switch



When MCLK is turned off and if the CLK MUX is changed
to RCO which means that RCO is already enabled, notify
all the clients accordingly so that clock dependent
parameters can be updated.

CRs-Fixed: 776200
Change-Id: I3c6526da566572c68da7b6bd5dd5cd788ba0a5b2
Signed-off-by: default avatarPhani Kumar Uppalapati <phaniu@codeaurora.org>
parent 0580b551
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -777,6 +777,11 @@ void wcd9xxx_resmgr_put_clk_block(struct wcd9xxx_resmgr *resmgr,
							0x01, 0x00);
					wcd9xxx_resmgr_notifier_call(resmgr,
						WCD9XXX_EVENT_POST_MCLK_OFF);
					/* CLK Mux changed to RCO, notify that
					 * RCO is ON
					 */
					wcd9xxx_resmgr_notifier_call(resmgr,
						WCD9XXX_EVENT_POST_RCO_ON);
				}
			} else {
				/* disable clock */