• David Brownell's avatar
    [PATCH] USB: gadgetfs minor updates · 530f6dbe
    David Brownell authored
    Gadgetfs updates:
    
     - Resolve a problem that came from a change in the API to AIO:
       kiocb->private type and size changed, but the name remained
       the same ... so GCC wouldn't report pending memory-corruption.
    
     - Probe the controller at runtime, eliminatingting config-specific
       defines which need to be updated for each new controller.  Rip
       out the old #defines.
    
     - Use newish APIs to let VBUS current be used to recharge
       batteries (or whatever).
    
     - Use no_llseek() ... endpoints are pure data streams.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    530f6dbe
inode.c 52.1 KB