ASoC: msm8x10-wcd: Add suspend / resume for codec driver

Accessing codec registers when codec and underlying i2c bus is in sleep
mode can cause failure to access the registers, possibly resulting in
unrecoverable failures in the codec. Add the suspend and resume power
management routines in order to wait for system resume before accesing
codec registers.

CRs-fixed: 554056
Change-Id: I38320e2e73158ec0fbb4bb74b1f8e73dd4c58cde
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
1 file changed