On Fri, Jul 01, 2011 at 02:03:25PM +0530, Ashish Chavan wrote:
On Thu, 2011-06-30 at 22:07 +0530, Mark Brown wrote:
You'd need to implement custom controls for the relevant enables which check to see what is currently enabled and prevents enables if there are conflicts. You should do this dynamically and I'd expect that only the enables actually need to check anything, adjusting parameters for things that aren't active is usually no problem.
I see. That means it's ok to allow setting up values of five band equalizers even when overall equalizer functionality is disabled. Can you point me to any existing code that has such custom control(s) which need to check for similar conditions? I am sure that many existing codecs would have this kind of inter dependent functions.
This requirement is actually fairly unusual, but there's plenty of drivers with open coded controls for various reasons. Have you tried looking at the existing drivers in mainline?