On Mon, Dec 20, 2010 at 10:50:49AM -0800, Stephen Warren wrote: > Mark Brown wrote: > > On Fri, Dec 17, 2010 at 10:16:16PM -0800, Stephen Warren wrote: > > > Perhaps the I2S driver can still manage all this though, and simply > > > apply PCM constraints to any subsequent I2S controller's streams when > > > one stream/controller is configured for the first time? > > That'd probably be too restrictive - it'd mean that if you only have one > > of the ports in use (like on Harmoney) you couldn't switch between the > > two different clock ratios. > I must be misunderstanding that comment; what I meant by it is basically > exactly what you suggested in the paragraph I quoted just before. > (by "configured for the first time", I was talking about stream lifetime not > I2S driver lifetime. I.e. I meant during hw_params or similar, and that the > constraints would be removed later, e.g. during close?) Ah, that makes sense - I'd parsed what you wrote as meaning that the first time a stream was configured we'd pick a clock rate and then on any subsequent stream configuration we'd constrain to something that matched the clock rate. I hadn't realised you only meant stream lifetimes rather than system lifetime. -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html