Re: [PATCH] serial: of-serial: Remove device_type = "serial" registration
From: Michal Simek
Date: Tue Apr 14 2015 - 01:12:27 EST
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