lkml.org 
[lkml]   [2014]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] async: async device driver probing
On Sat, Feb 08, 2014 at 07:05:38PM +0800, falcon@meizu.com wrote:
> From: Wu Zhangjin <wuzhangjin@gmail.com>
>
> [*Note*: NOT applicable, only for comments.]
>
> To async the slow driver probing function of some devices, the device probing
> support is modified to support async scheduling.
>
> In order to async your driver probing function, please mask the async_probe
> flag to 1, and to make sure one asynced probing is executed before an specified
> point, please call async_synchronize_full() in that point..
>
> Usage:
>
> static struct i2c_driver test_driver = {
> .driver = {
> .name = TEST_DEV_NAME,
> .owner = THIS_MODULE,
> + .async_probe = 1,
> },

Why is this needed, we have defered probing and the container stuff, so
what problem is this solving?

greg k-h


\
 
 \ /
  Last update: 2014-02-08 20:01    [W:0.060 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site