7 Mar
2012
7 Mar
'12
7:11 p.m.
On Wed, Mar 07, 2012 at 10:34:21PM +0530, Nitin PAI wrote:
Usually the driver does need to enforce some kind of limits (on input format and sample rate normally) even for a simple device with no software control otherwise the device can get driven out of spec.
Agreed. This is more of a system integration problem then the machine driver problem. Most of these enforcements are already present in the machine driver.
Perhaps your BSP is doing things differently to mainline here; it's vanishingly rare in mainline for machine drivers to enforce any limits themselves. Usually the CODEC and SoC drivers do this.