27 Oct
2014
27 Oct
'14
12:15 p.m.
Hi Kuninori,
Thanks for your reply.
On Mon, Oct 27, 2014 at 3:56 AM, Kuninori Morimoto kuninori.morimoto.gx@renesas.com wrote:
Current simple-card already has mclk_fs support on hw_param.
Thought some more about it, indeed I can change my I2S master driver to just use constant factor to derive MCLK frequency from the requested sample rate.
So, we can add similar method ? Below is my idea. priv->xxx is new option here.
Hardcoding it seemed a bit awkward to me as well as providing full lookup table to map sample rate to MCLK frequency in the device tree. So I'll stick with the mclk_fs feature for now.
Or you can update mclk_fs feature somehow ?
--
Thanks.
-- Max