Re: [PATCH] serial: of-serial: Remove device_type = "serial" registration

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

 



On 04/13/2015 05:50 PM, Peter Hurley wrote:
> [ + Arnd ]
> 
> Hi Michal,
> 
> On 04/13/2015 10:35 AM, Michal Simek wrote:
>> Do not probe all serial drivers by of_serial.c which are using
>> device_type = "serial"; property. Only drivers which have valid
>> compatible strings listed in the driver should be probed.
> 
> What does this fix?
> Is there some kind of probe problem you're trying to address?
> Are you trying to silence the error message?
> 
>> When PORT_UNKNOWN probe will fail anyway.
> 
> Ok, but doesn't device_attach() just continue to try to match other
> drivers on the platform bus?


Please look at my response to Greg reply. Hope that explain it.

Thanks,
Michal







Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]