1. 31 May, 2018 2 commits
    • Greg Kroah-Hartman's avatar
      NFC: pn533: don't send USB data off of the stack · dbafc289
      Greg Kroah-Hartman authored
      It's amazing that this driver ever worked, but now that x86 doesn't
      allow USB data to be sent off of the stack, it really does not work at
      all.  Fix this up by properly allocating the data for the small
      "commands" that get sent to the device off of the stack.
      
      We do this for one command by having a whole urb just for ack messages,
      as they can be submitted in interrupt context, so we can not use
      usb_bulk_msg().  But the poweron command can sleep (and does), so use
      usb_bulk_msg() for that transfer.
      Reported-by: default avatarCarlos Manuel Santos <cmmpsantos@gmail.com>
      Cc: Samuel Ortiz <sameo@linux.intel.com>
      Cc: Stephen Hemminger <stephen@networkplumber.org>
      Cc: stable <stable@vger.kernel.org>
      Reviewed-by: default avatarJohan Hovold <johan@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dbafc289
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-serial-4.18-rc1' of... · 7eeb1119
      Greg Kroah-Hartman authored
      Merge tag 'usb-serial-4.18-rc1' of https://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
      
      Johan writes:
      
      USB-serial updates for v4.18-rc1
      
      Here are the USB-serial updates for 4.18-rc1, including:
      
       - support for hardware-assisted XON/XOFF output flow control for pl2303
       - fix for a long-standing IXON/IXOFF mixup in ftdi_sio
       - blacklist of two apparently unused dwm-158 modem interfaces that
         confused some user space daemon (option)
       - add missing const to a tty helper currently used by USB serial only
      
      Included are also various clean ups.
      
      All have been in linux-next with no reported issues.
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      7eeb1119
  2. 25 May, 2018 1 commit
  3. 24 May, 2018 37 commits