Re: [PATCHv2 6/7] S3C64XX PCM: Defined PCM controller platform devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 17, 2009 at 8:39 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> 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.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux