On Wed, Jun 3, 2015 at 4:07 PM, Paul Gortmaker <[email protected]> wrote: > On 15-06-02 05:19 AM, Linus Walleij wrote:
>> For example if this is a builtin regulator, clock, GPIO, DMA etc >> driver, we want to suppress the binding/unbinding from userspace >> too, since these drivers provide resources to others and >> if you unbind them, nasty things happen. Unbinding/rebinding >> is fine as long as noone else depend on you. However for >> a large number of builtins, that is the case :P > > So, to summarize: > > 1) Currently drivers can unbind that really should not do so. > > 2) This is not a new issue, nor is it introduced by this series. > > 3) We can't set policy based on built in vs modular; the only > sane thing appears to be to let the driver decide itself. Yeah I think you're right. If I wanted to fix this problem I should come up with some patches to help driver authors do it themselves in a simpler way. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

