1. 14 May, 2008 1 commit
    • Harvey Harrison's avatar
      usb: fix integer as NULL pointer warnings found by sparse · af3d305c
      Harvey Harrison authored
      
      
      drivers/usb/host/ohci-sm501.c:93:24: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/amd5536udc.c:3254:9: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/amd5536udc.c:3267:9: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/amd5536udc.c:3277:9: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/amd5536udc.c:3285:9: warning: Using plain integer as NULL pointer
      drivers/usb/gadget/amd5536udc.c:3293:9: warning: Using plain integer as NULL pointer
      Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      af3d305c
  2. 24 Apr, 2008 5 commits
  3. 11 Apr, 2008 1 commit
  4. 01 Feb, 2008 1 commit
    • Magnus Damm's avatar
      usb: ohci-sm501 driver · f54aab6e
      Magnus Damm authored
      
      
      usb: ohci-sm501 driver V2
      
      This patch adds sm501 ohci support. It's all very straightforward with the
      exception of dma_declare_coherent_memory() and HCD_LOCAL_MEM. Together they
      are used to ensure that usb data is allocated using dma_alloc_coherent(),
      and that only valid dma memory is used to allocate from. This driver is
      a platform device, and the mfd driver sm501.c is already creating one
      usb host controller instance per sm501.
      Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      f54aab6e