17 Nov
2009
17 Nov
'09
1:54 p.m.
On Tue, Nov 17, 2009 at 8:39 PM, Mark Brown broonie@opensource.wolfsonmicro.com wrote:
On Tue, Nov 17, 2009 at 04:53:56PM +0900, Jassi Brar wrote:
- default:
- printk(KERN_DEBUG "Invalid PCM Controller number!");
- return -EINVAL;
- }
As I said last time this really should be an error at least.
Actually the case cudn't be reached ever. The driver check for valid index before continuing with the probe.
Also, PCM controller driver refuse to handle the device if the callback(cfg_gpio) fail for some reason.
Btw, sorry, I cudn't find this comment in you past replies.