5 Jun
2015
5 Jun
'15
7:56 p.m.
On Fri, Jun 05, 2015 at 04:22:19PM +0100, Charles Keepax wrote:
On Fri, Jun 05, 2015 at 02:05:44PM +0200, Sergej Sawazki wrote:
The set of supported sample rates depends on the master clock supplied to the codec. Allow the machine driver to set the required master clock
Please delete undeleted context when replying.
I think rather than removing the constraints entirely here, perhaps just don't set any constraints if there is no SYSCLK yet. That way we get the benefits of the constraints for single clock systems (such as user-space being able to arrange appropriate software resampling) but those like yours can configure the clock later.
Yes, that's the ideal thing. The machine driver should reset the clock back to zero when things go idle.