OSDN Git Service

asoc: codecs: Fix LPASS register access during bootup
authorSoumya Managoli <smanag@codeaurora.org>
Fri, 2 Aug 2019 05:29:47 +0000 (10:59 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Mon, 12 Aug 2019 09:33:00 +0000 (02:33 -0700)
commit9f232a9029771626963aab4cb13cac9b64ae7d5c
treec32b0be221c8d2ceae5d1726598938a917ba65f5
parent2a61e30d4462de293371173af5c153e0ea195f0e
asoc: codecs: Fix LPASS register access during bootup

In analog codec and soundwire codec probe functions,
ADSP Audio PD up status is not checked which leads
to LPASS registers access during bootup
even before ADSP is ready.
Check for ADSP ready state in the respective
probe functions to fix this.

Change-Id: I7c97833898b6e75806c4567fcdf1618759acb238
Signed-off-by: Soumya Managoli <smanag@codeaurora.org>
sound/soc/codecs/msm_sdw/msm_sdw_cdc.c
sound/soc/codecs/sdm660_cdc/msm-analog-cdc.c