
9 Jul
2015
9 Jul
'15
2:22 a.m.
Hi Masahiro,
On 7 July 2015 at 22:29, Masahiro Yamada yamada.masahiro@socionext.com wrote:
Currently, we only have DM_FLAG_ACTIVATED to indicate the device status, but we still cannot know in which stage is in progress, binding or probing.
This commit introduces a new flag, DM_FLAG_BOUND, which is set when the device is really bound, and cleared when it is unbound.
Signed-off-by: Masahiro Yamada yamada.masahiro@socionext.com
Under what situation does a device exist without being bound? Binding is supposed to be the act of creating the device.
OK I see after reading the rest of the patches that we might use devm_alloc() during the bind process and want to track that. I guess this is OK.
Regards, Simon