1. 07 Nov, 2017 17 commits
    • Greg Kroah-Hartman's avatar
      USB: c67x00: Remove redundant license text · 12c3de7e
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Peter Korsgaard <jacmet@sunsite.dk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      12c3de7e
    • Greg Kroah-Hartman's avatar
      USB: dwc2: Remove redundant license text · 6c2d03e8
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: John Youn <johnyoun@synopsys.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6c2d03e8
    • Greg Kroah-Hartman's avatar
      USB: dwc3: Remove redundant license text · b5ea4757
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Kukjin Kim <kgene@kernel.org>
      Cc: Krzysztof Kozlowski <krzk@kernel.org>
      Cc: Patrice Chotard <patrice.chotard@st.com>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b5ea4757
    • Greg Kroah-Hartman's avatar
      USB: chipidea: Remove redundant license text · 51b751f1
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Acked-by: default avatarPeter Chen <peter.chen@nxp.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      51b751f1
    • Greg Kroah-Hartman's avatar
      USB: isp1760: Remove redundant license text · a2c1b455
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
      Cc: Johan Hovold <johan@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a2c1b455
    • Greg Kroah-Hartman's avatar
      USB: mtu3: Remove redundant license text · 4c55a157
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      Acked-by: default avatarChunfeng Yun <chunfeng.yun@mediatek.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      4c55a157
    • Greg Kroah-Hartman's avatar
      USB: musb: Remove redundant license text · 21b650c2
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
      Cc: Chen-Yu Tsai <wens@csie.org>
      Acked-by: default avatarBin Liu <b-liu@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      21b650c2
    • Greg Kroah-Hartman's avatar
      USB: typec: Remove redundant license text · a8f523fb
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Johan Hovold <johan@kernel.org>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
      Acked-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      a8f523fb
    • Greg Kroah-Hartman's avatar
      USB: phy: Remove redundant license text · fb3967b9
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Jonathan Hunter <jonathanh@nvidia.com>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      fb3967b9
    • Greg Kroah-Hartman's avatar
      USB: renesas_usbhs: Remove redundant license text · 1250413a
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Rob Herring <robh@kernel.org>
      Cc: Simon Horman <horms+renesas@verge.net.au>
      Cc: Geert Uytterhoeven <geert+renesas@glider.be>
      Cc: Chanwoo Choi <cw00.choi@samsung.com>
      Cc: Johan Hovold <johan@kernel.org>
      Cc: Kazuya Mizuguchi <kazuya.mizuguchi.ks@renesas.com>
      Cc: Bhumika Goyal <bhumirks@gmail.com>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Acked-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      1250413a
    • Greg Kroah-Hartman's avatar
      USB: usbip: Remove redundant license text · 7f2b019c
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Valentina Manea <valentina.manea.m@gmail.com>
      Acked-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      7f2b019c
    • Greg Kroah-Hartman's avatar
      USB: wusbcore: Remove redundant license text · 060b6949
      Greg Kroah-Hartman authored
      Now that the SPDX tag is in all USB files, that identifies the license
      in a specific and legally-defined manner.  So the extra GPL text wording
      can be removed as it is no longer needed at all.
      
      This is done on a quest to remove the 700+ different ways that files in
      the kernel describe the GPL license text.  And there's unneeded stuff
      like the address (sometimes incorrect) for the FSF which is never
      needed.
      
      No copyright headers or other non-license-description text was removed.
      
      Cc: Felipe Balbi <felipe.balbi@linux.intel.com>
      Cc: Johan Hovold <johan@kernel.org>
      Cc: Arvind Yadav <arvind.yadav.cs@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      060b6949
    • Kuninori Morimoto's avatar
      renesas_usbhs: use renesas_usbhs_get_info() · f0f14a7a
      Kuninori Morimoto authored
      We already have renesas_usbhs_get_info() macro.
      Let's use it.
      Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
      Acked-by: default avatarYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      f0f14a7a
    • Arnd Bergmann's avatar
      usbip: use monotonic timestamps · 6c51441c
      Arnd Bergmann authored
      This gets rid of the deprecated do_gettimeofday() function in usbip.
      The comment above vgadget_get_frame() mentions that it suffers
      from issues with the time jumps due to suspend and settimeofday,
      so I'm changing it to use ktime_get_ts64() to use monotonic times
      that don't have this problem.
      
      I couldn't tell whether we should use CLOCK_MONOTONIC or
      CLOCK_MONOTONIC_RAW here, the difference being the exact rate
      when correcting for NTP. I picked monotonic time since it doesn't
      change the speed to the existing code and should be better
      synchronized with other machines we talk to.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarKrzysztof Opasiak <k.opasiak@samsung.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6c51441c
    • Arnd Bergmann's avatar
      usbip: fix off-by-one frame number calculation · 15081e85
      Arnd Bergmann authored
      vgadget_get_frame returns a frame number from 0 to 2046, which
      may require an expensive division operation to wrap at one lower
      than the usual number.
      
      I can't see any reason for this, and all other drivers wrap at
      a power-of-two number. My best explanation is that it was a simple
      typo, so I'm changing the % modulo operator into a cheaper bitmask
      that the other drivers use, to make it wrap after 0x7ff rather than
      before it.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Reviewed-by: default avatarKrzysztof Opasiak <k.opasiak@samsung.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      15081e85
    • Lu Baolu's avatar
      USB: serial: Change DbC debug device binding ID · 12f28144
      Lu Baolu authored
      The product ID for "Linux USB GDB Target device" has been
      changed. Change the driver binding table accordingly.
      
      This patch should be back-ported to kernels as old as v4.12,
      that contain the commit 57fb4727 ("usb/serial: Add DBC
      debug device support to usb_debug").
      
      Cc: <stable@vger.kernel.org> # v4.12+
      Cc: Johan Hovold <johan@kernel.org>
      Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      12f28144
    • Lu Baolu's avatar
      USB: early: Use new USB product ID and strings for DbC device · c67678ec
      Lu Baolu authored
      The DbC register set defines an interface for system software
      to specify the vendor id and product id for the debug device.
      These two values will be presented by the debug device in its
      device descriptor idVendor and idProduct fields.
      
      The current used product ID is a place holder. We now have a
      valid one. The description strings are changed accordingly.
      
      This patch should be back-ported to kernels as old as v4.12,
      that contain the commit aeb9dd1d ("usb/early: Add driver
      for xhci debug capability").
      
      Cc: <stable@vger.kernel.org> # v4.12+
      Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c67678ec
  2. 04 Nov, 2017 12 commits
  3. 03 Nov, 2017 3 commits
  4. 02 Nov, 2017 3 commits
    • Arnd Bergmann's avatar
      usb: mtu3: fix dma_addr_t printk output again · 20ef800b
      Arnd Bergmann authored
      The support for 36-bit addresses originally came with an incorrect
      printk format for dma addresses. Felipe changed the format string it
      while applying, but the result was still incorrect, since we now have
      to pass a pointer to the address instead of the integer value:
      
      drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_tx_gpd':
      drivers/usb/mtu3/mtu3_qmu.c:261:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]
      drivers/usb/mtu3/mtu3_qmu.c: In function 'mtu3_prepare_rx_gpd':
      drivers/usb/mtu3/mtu3_qmu.c:300:25: error: format '%p' expects argument of type 'void *', but argument 7 has type 'dma_addr_t {aka unsigned int}' [-Werror=format=]
      
      This fixes the printk argument accordingly.
      
      Fixes: 1a46dfea ("usb: mtu3: support 36-bit DMA address")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      20ef800b
    • Arnd Bergmann's avatar
      usb: xhci: tegra: use time64_t for printing timestamp · 9506b146
      Arnd Bergmann authored
      The time_t type and time_to_tm() function are deprecated because
      of y2038 problems. In this driver, they are used to pretty-print
      the timestamp of the firmware build. This is fine as long as
      we don't get a firmware build past 2038.
      
      Converting to time64_t and time64_to_tm() avoids the deprecated
      interfaces and works until 2106, when the firmware-defined
      data structure overflows.
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Acked-by: default avatarThierry Reding <treding@nvidia.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9506b146
    • Greg Kroah-Hartman's avatar
      Merge tag 'usb-serial-4.15-rc1' of... · 29ce32ec
      Greg Kroah-Hartman authored
      Merge tag 'usb-serial-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next
      
      Johan writes:
      
      USB-serial updates for v4.15-rc1
      
      Here are the USB-serial updates for 4.15-rc1, including:
      
       - three fixes for longstanding issues in garmin_gps and metro-usb which
         could lead to NULL-pointer dereferences and memory leaks
      
       - a workaround for broken f81534 firmware-handling of overruns
      
       - f81534 break support, and
      
       - conversion to timer_setup()
      
      Included are also various clean ups and a new qcserial device id.
      
      All have been in linux-next with no reported issues.
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      29ce32ec
  5. 01 Nov, 2017 5 commits