[alsa-devel] [PATCHv2 6/7] S3C64XX PCM: Defined PCM controller platform devices

jassi brar jassisinghbrar at gmail.com
Tue Nov 17 13:54:36 CET 2009


On Tue, Nov 17, 2009 at 8:39 PM, Mark Brown
<broonie at 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.


More information about the Alsa-devel mailing list