1. 26 Apr, 2022 3 commits
  2. 23 Apr, 2022 1 commit
  3. 22 Apr, 2022 1 commit
  4. 21 Apr, 2022 17 commits
  5. 20 Apr, 2022 2 commits
    • Bruno Thomsen's avatar
      USB: serial: cp210x: add PIDs for Kamstrup USB Meter Reader · 35a923a0
      Bruno Thomsen authored
      Wireless reading of water and heat meters using 868 MHz wM-Bus mode C1.
      
      The two different product IDs allow detection of dongle antenna
      solution:
      - Internal antenna
      - External antenna using SMA connector
      
      https://www.kamstrup.com/en-en/water-solutions/water-meter-reading/usb-meter-readerSigned-off-by: default avatarBruno Thomsen <bruno.thomsen@gmail.com>
      Link: https://lore.kernel.org/r/20220414081202.5591-1-bruno.thomsen@gmail.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      35a923a0
    • Slark Xiao's avatar
      USB: serial: option: add support for Cinterion MV32-WA/MV32-WB · b4a64ed6
      Slark Xiao authored
      Add support for Cinterion device MV32-WA/MV32-WB. MV32-WA PID is
      0x00F1, and MV32-WB PID is 0x00F2.
      
      Test evidence as below:
      T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00f1 Rev=05.04
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00F1 USB Mobile Broadband
      S:  SerialNumber=78ada8c4
      C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
      I:  If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=60 Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      T:  Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  3 Spd=5000 MxCh= 0
      D:  Ver= 3.20 Cls=ef(misc ) Sub=02 Prot=01 MxPS= 9 #Cfgs=  1
      P:  Vendor=1e2d ProdID=00f2 Rev=05.04
      S:  Manufacturer=Cinterion
      S:  Product=Cinterion PID 0x00F2 USB Mobile Broadband
      S:  SerialNumber=cdd06a78
      C:  #Ifs= 6 Cfg#= 1 Atr=a0 MxPwr=896mA
      I:  If#=0x0 Alt= 0 #EPs= 1 Cls=02(commc) Sub=0e Prot=00 Driver=cdc_mbim
      I:  If#=0x1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=02 Driver=cdc_mbim
      I:  If#=0x2 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=40 Driver=option
      I:  If#=0x3 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
      I:  If#=0x4 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=60 Driver=option
      I:  If#=0x5 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=30 Driver=option
      
      Interface 0&1: MBIM, 2:Modem, 3: GNSS, 4: NMEA, 5: Diag
      GNSS port don't use serial driver.
      Signed-off-by: default avatarSlark Xiao <slark_xiao@163.com>
      Link: https://lore.kernel.org/r/20220414074434.5699-1-slark_xiao@163.com
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      b4a64ed6
  6. 19 Apr, 2022 1 commit
    • Dan Vacura's avatar
      usb: gadget: uvc: Fix crash when encoding data for usb request · 71d471e3
      Dan Vacura authored
      During the uvcg_video_pump() process, if an error occurs and
      uvcg_queue_cancel() is called, the buffer queue will be cleared out, but
      the current marker (queue->buf_used) of the active buffer (no longer
      active) is not reset. On the next iteration of uvcg_video_pump() the
      stale buf_used count will be used and the logic of min((unsigned
      int)len, buf->bytesused - queue->buf_used) may incorrectly calculate a
      nbytes size, causing an invalid memory access.
      
      [80802.185460][  T315] configfs-gadget gadget: uvc: VS request completed
      with status -18.
      [80802.185519][  T315] configfs-gadget gadget: uvc: VS request completed
      with status -18.
      ...
      uvcg_queue_cancel() is called and the queue is cleared out, but the
      marker queue->buf_used is not reset.
      ...
      [80802.262328][ T8682] Unable to handle kernel paging request at virtual
      address ffffffc03af9f000
      ...
      ...
      [80802.263138][ T8682] Call trace:
      [80802.263146][ T8682]  __memcpy+0x12c/0x180
      [80802.263155][ T8682]  uvcg_video_pump+0xcc/0x1e0
      [80802.263165][ T8682]  process_one_work+0x2cc/0x568
      [80802.263173][ T8682]  worker_thread+0x28c/0x518
      [80802.263181][ T8682]  kthread+0x160/0x170
      [80802.263188][ T8682]  ret_from_fork+0x10/0x18
      [80802.263198][ T8682] Code: a8c12829 a88130cb a8c130
      
      Fixes: d6925225 ("usb: gadget/uvc: Port UVC webcam gadget to use videobuf2 framework")
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarDan Vacura <w36195@motorola.com>
      Link: https://lore.kernel.org/r/20220331184024.23918-1-w36195@motorola.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      71d471e3
  7. 14 Apr, 2022 2 commits
  8. 11 Apr, 2022 1 commit
  9. 09 Apr, 2022 4 commits
  10. 03 Apr, 2022 8 commits