ASoC: wcd9306: unvote pm runtime after slim disconnect port

Codec shutdown removes vote for pm runtime and subsequent call
to slim disconnect port would cause failure as it would race
with pm suspend call. Unvote for pm runtime only when there are
no active dais and remove the vote once the slim ports get
closed successfully at the end of audio session.

CRs-fixed: 566520
Change-Id: Ib620f1644097f69a8180ab96f75d170d068acac5
Signed-off-by: Phani Kumar Uppalapati <phaniu@codeaurora.org>
1 file changed