Skip to content
Snippets Groups Projects
  1. Dec 16, 2020
    • Hayes Wang's avatar
      eth/r8152: free previous memory if r8152_eth_probe fail · 17d5a461
      Hayes Wang authored and Marek Vasut's avatar Marek Vasut committed
      
      The r8152_eth_probe() may allocate a memory for ss->dev_priv.
      It has to be freed if r8152_eth_probe() fails finally.
      
      Signed-off-by: default avatarHayes Wang <hayeswang@realtek.com>
      17d5a461
    • Ran Wang's avatar
      usb: xhci: fix lack of short packet event trb handling · 621ed49d
      Ran Wang authored and Marek Vasut's avatar Marek Vasut committed
      
      For bulk IN transfer, the codes will set ISP flag to request event TRB
      being generated by xHC for the case of short packet. So when encountering
      buffer-cross-64K-boundary (which we will divide payload and enqueuqe
      more than 1 transfer TRB), and the first TRB ends up with a short packet
      condition it will trigger an short packet code transfer event per that
      flag and cause more than 1 event TRB generated for this transfer.
      
      However, current codes will only handle the first transfer event TRB
      then mark current transfer completed, causing next transfer
      failure due to event TRB mis-match.
      
      Such issue has been observed on some Layerscape platforms (LS1028A,
      LS1088A, etc) with USB ethernet device.
      
      This patch adds a loop to make sure the event TRB for last transfer TRB
      has been handled in time.
      
      Signed-off-by: default avatarRan Wang <ran.wang_1@nxp.com>
      Reviewed-by: Bin Meng's avatarBin Meng <bmeng.cn@gmail.com>
      621ed49d
  2. Dec 15, 2020
  3. Dec 14, 2020
  4. Dec 11, 2020
  5. Dec 10, 2020
Loading