AnsweredAssumed Answered

how to close audio clock when the codec doesn`t work

Question asked by Edward Fu on Dec 13, 2016
Latest reply on Dec 13, 2016 by Edward Fu

Hi all,

 

I am using a codec named es8323s like wm8988. The codec is the master and the imx6 is the slave.

I have already debuged the codec well. But I want to close the clock when the codec doesn`t work. The

clock is from clko.

 

I am wondering if the interface of the clock to open and close is clk_prepare_enable and clk_disable_unprepare.

And I don`t know where the interface should place in the codec driver.

 

Thanks and Regards,

Edward

Outcomes