[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-usb
Subject:    Re: [RFC v2] usb/gadget: the start of the configfs interface
From:       Felipe Balbi <balbi () ti ! com>
Date:       2012-11-30 22:09:51
Message-ID: 20121130220951.GB21880 () arwen ! pp ! htv ! fi
[Download RAW message or body]

Hi,

On Fri, Nov 30, 2012 at 07:40:31PM +0100, Michal Nazarewicz wrote:
> On Fri, Nov 30 2012, Felipe Balbi wrote:
> > why would you load a function before it's actually needed ? We could
> > end up with users who will just load the function and never actually
> > need them which will consume memory for no reason.
> 
> IMO that's actually mute argument since it can be done regardless.  You
> can modprobe the module anyway.

fair enough, I just want to avoid doing any memory allocations, or HW
initialization (in case of the UDCs) or anything at all until we know
that will be used.

-- 
balbi

["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic