4 Oct
2011
4 Oct
'11
6:34 p.m.
On Tue, Oct 4, 2011 at 6:26 PM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
On Tue, Oct 04, 2011 at 02:39:42PM +0300, Peter Ujfalusi wrote:
Return -EINVAL in the unlikely event, if the function has been called for unhandled control. This way we can remove one check in the code.
Signed-off-by: Peter Ujfalusi peter.ujfalusi@ti.com
I'll apply this but as with the discussion with the Maxim devices the other day it'd be better if there were some sort of loud warning if we ever hit the error case as it means that the CODEC driver is disagreeing with itself.
Agreed, I'll put dev_err for the error cases.
--
Péter