1. 05 Mar, 2014 12 commits
  2. 20 Feb, 2014 3 commits
    • Markus Pargmann's avatar
      usb: musb: dsps, debugfs files · 40f099e3
      Markus Pargmann authored
      debugfs files to show the contents of important dsps registers.
      Signed-off-by: default avatarMarkus Pargmann <mpa@pengutronix.de>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      40f099e3
    • Huang Rui's avatar
      usb: dwc3: fix wrong bit mask in dwc3_event_devt · 06f9b6e5
      Huang Rui authored
      Around DWC USB3 2.30a release another bit has been added to the
      Device-Specific Event (DEVT) Event Information (EvtInfo) bitfield.
      
      Because of that, what used to be 8 bits long, has become 9 bits long.
      
      Per dwc3 2.30a+ spec in the Device-Specific Event (DEVT), the field of
      Event Information Bits(EvtInfo) uses [24:16] bits, and it has 9 bits
      not 8 bits. And the following reserved field uses [31:25] bits not
      [31:24] bits, and it has 7 bits.
      
      So in dwc3_event_devt, the bit mask should be:
      event_info	[24:16]		9 bits
      reserved31_25	[31:25]		7 bits
      
      This patch makes sure that newer core releases will work fine with
      Linux and that we will decode the event information properly on new
      core releases.
      
      [ balbi@ti.com : improve commit log a bit ]
      
      Cc: <stable@vger.kernel.org>
      Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      06f9b6e5
    • Dan Carpenter's avatar
      usb: gadget: gr_udc: remove some unneeded error handling · 798a2468
      Dan Carpenter authored
      Debugfs function return an ERR_PTR if they compiled out.  We don't need
      to test for that here because if the debugfs file are compiled out then
      it is ok to pass an ERR_PTR to debugfs_create_file() since it will just
      be a no-op stub.
      
      Debugfs return NULLs on error, but we don't need to test for that either
      because debugfs_create_file() will accept NULL pointers.
      Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
      Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
      798a2468
  3. 19 Feb, 2014 2 commits
  4. 18 Feb, 2014 22 commits
  5. 15 Feb, 2014 1 commit
    • Hans de Goede's avatar
      phy-core: Don't allow building phy-core as a module · 6d36b6f3
      Hans de Goede authored
      include/phy/phy.h has stub code in there for when building without the
      phy-core enabled. This is useful for generic drivers such as ahci-platform,
      ehci-platoform and ohci-platform which have support for driving an optional
      phy passed to them through the devicetree.
      
      Since on some boards this phy functionality is not needed, being able to
      disable the phy subsystem without needing a lot of #ifdef magic in the
      driver using it is quite useful.
      
      However this breaks when the module using the phy subsystem is build-in and
      the phy-core is not, which leads to the build failing with missing symbol
      errors in the linking stage of the zImage.
      
      Which leads to gems such as this being added to the Kconfig for achi_platform:
      
      	depends on GENERIC_PHY || !GENERIC_PHY
      
      Rather then duplicating this code in a lot of places using the phy-core,
      I believe it is better to simply not allow the phy-core to be built as a
      module. The phy core is quite small and has no external dependencies, so
      always building it in when enabling it should not be an issue.
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
      Acked-by: default avatarRoger Quadros <rogerq@ti.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6d36b6f3