4 May
2015
4 May
'15
4:27 p.m.
On Sun, May 03, 2015 at 09:11:47PM +0300, Vasily Khoruzhick wrote:
set_dai_fmt_both() callback is called from snd_soc_runtime_set_dai_fmt() which is called from snd_soc_register_card(), but at this time codec is not powered on yet. Replace direct i2c write with regcache write.
Applied, thanks. Of course the most robust thing would be to convert to regmap and mark the device cache only when appropriate...