21 Jun
2013
21 Jun
'13
7:46 p.m.
On 21.06.2013 17:00, Mark Brown wrote:
On Fri, Jun 21, 2013 at 09:54:42AM +0200, Daniel Mack wrote:
To avoid excessive reset cycles and firmware downloads, the default clock divider can be specified in DT as well. Whenever a ratio change is detected in the hw_params callback, the PLL mode lines are updates and a full reset cycle is issued.
Why isn't it enough to just use the first setting we see - I'd expect the device to normally be powered off before audio starts including when hw_params() is called?
Hmm, then we would postpone the firmware download to the first hw_params call in all cases. That could also work, but it'll need some rework. I'll post new patches the next days.
Daniel