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,