1. 26 5月, 2015 20 次提交
  2. 22 5月, 2015 4 次提交
  3. 14 5月, 2015 14 次提交
  4. 08 5月, 2015 2 次提交
    • B
      usb: musb: add softconnect for host mode · ffc1d299
      Bin Liu 提交于
      Add a debugfs interface - softconnect - for host mode to
      connect/disconnect the devices without physically remove the
      them.
      
      This adds the capability to re-enumerate the devices which are
      permanently mounted on the board with the MUSB controller
      together.
      Signed-off-by: NBin Liu <b-liu@ti.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      ffc1d299
    • A
      usb: gadget: rndis: remove the limit of available rndis connections · d6d22922
      Andrzej Pietrasiewicz 提交于
      RNDIS function has a limitation on the number of allowed instances.
      So far it has been RNDIS_MAX_CONFIGS, which happens to be one.
      In order to eliminate this kind of arbitrary limitation we should not
      preallocate a predefined (RNDIS_MAX_CONFIGS) array of struct rndis_params
      instances but instead allow allocating them on demand.
      
      This patch allocates struct rndis_params on demand in rndis_register().
      Coversly, the structure is free()'d in rndis_deregister().
      If CONFIG_USB_GADGET_DEBUG_FILES is set, the proc files are created which
      is the same behaviour as before, but the moment of creation is delayed
      until struct rndis_params is actually allocated.
      
      rnids_init() and rndis_exit() have nothing to do, so they are eliminated.
      Signed-off-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com>
      Signed-off-by: NFelipe Balbi <balbi@ti.com>
      d6d22922