1. 18 Mar, 2013 1 commit
    • Lukasz Majewski's avatar
      usb:composite:fix Provide function data when addressing device with only one interface · f7b4162e
      Lukasz Majewski authored
      
      
      This commit fixes problems with some non-standard requests send with
      device address instead of interface address (bmRequestType.Receipent field).
      
      This happens with dfu-util (debian version: 0.5), which address non standard
      requests (like w_value=0x21 and bRequest=GET_DESCRIPTOR) to device.
      Without this fix, the above request is STALLED, and hence causes dfu-util
      to assume some standard configuration (packet size = 1024B instead of 4096B)
      In turn it displays following errors:
      Error obtaining DFU functional descriptor
      Warning: Assuming DFU version 1.0
      Warning: Transfer size can not be detected
      ...
      Warning: Trying default transfer size 1024
      
      This fix allows passing non-standard request to function setup code, where
      it shall be handled.
      
      Tested at: 	Trats (exynos4210)
      Tested with:DFU and UMS gadgets
      Signed-off-by: default avatarLukasz Majewski <l.majewski@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      f7b4162e
  2. 16 Mar, 2013 5 commits
  3. 08 Jan, 2013 1 commit
  4. 17 Dec, 2012 3 commits
  5. 09 Dec, 2012 1 commit
  6. 27 Nov, 2012 1 commit
  7. 19 Nov, 2012 10 commits
  8. 16 Nov, 2012 11 commits
  9. 04 Nov, 2012 1 commit
    • Tom Rini's avatar
      usb gadget ether: Fix warning in is_eth_addr_valid() · 57a87a25
      Tom Rini authored
      
      
      The gadget ethernet driver needs to keep copies of the MAC address (at
      both endpoints) as strings so it needs a custom function for validation
      of the MAC.  It was not however performing a totally correct check and
      also was emitting a warning about a set but unused variable.  The
      solution to both is that after checking the string contents we use the
      standard test for a valid MAC.
      
      Cc: Joe Hershberger <joe.hershberger@ni.com>
      Cc: Marek Vasut <marex@denx.de>
      Signed-off-by: default avatarTom Rini <trini@ti.com>
      Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
      57a87a25
  10. 23 Oct, 2012 1 commit
  11. 22 Oct, 2012 1 commit
  12. 18 Oct, 2012 1 commit
  13. 16 Oct, 2012 1 commit
  14. 15 Oct, 2012 2 commits