1. 17 Nov, 2013 1 commit
    • Andreas Werner's avatar
      i2c: i2c-eg20t: do not print error message in syslog if no ACK received · 5e47eec0
      Andreas Werner authored
      Using the i2c-eg20t driver and call i2cdetect or probe on the bus,
      the driver will print a lot of error messages if there was no ACK
      received.
      
      i2cdetect normally print a table with all the available devices. If there
      is no device on the address, the table will be empty.
      Currently with the i2c-eg20t driver, the table is not visible because
      the error messages destroy the table.
      
      Error message: pch_i2c_getack return -71
      
      This patch prevent the driver to print the messages to syslog.
      The pch_i2c_wait_for_check_xfer function is the only one who is
      calling pch_i2c_getack, so we can delete the function and add the
      read to pch_i2c_wait_for_check_xfer.
      If no ACK is received, the Message will be printed as a dbg
      message.
      
      Fixed print message to be a one liner so we can grep for the
      error message.
      
      Tested on Intel Atom E6xx and Eg20t Chipset.
      Signed-off-by: default avatarAndreas Werner <wernerandy@gmx.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      5e47eec0
  2. 15 Nov, 2013 2 commits
  3. 14 Nov, 2013 5 commits
  4. 01 Nov, 2013 3 commits
  5. 31 Oct, 2013 2 commits
  6. 30 Oct, 2013 3 commits
  7. 06 Oct, 2013 3 commits
    • Marek Vasut's avatar
      i2c: mxs: Fix PIO mode on i.MX23 · 19e221be
      Marek Vasut authored
      The i.MX23 I2C controller is also capable of PIO, but needs a little harder
      push to behave. The controller needs to be reset after every PIO/DMA operation
      for some reason, otherwise in rare cases, the controller can hang or emit
      bytes onto the bus.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      19e221be
    • Marek Vasut's avatar
      i2c: mxs: Rework the PIO mode operation · 29faeb38
      Marek Vasut authored
      Analyze and rework the PIO mode operation. The PIO mode operation
      was unreliable on MX28, by analyzing the bus with LA, the checks
      for when data were available or were to be sent were wrong.
      
      The PIO WRITE has to be completely reworked as it multiple problems.
      The MX23 datasheet helped here, see comments in the code for details.
      The problems boil down to:
      - RUN bit in CTRL0 must be set after DATA register was written
      - The PIO transfer must be 4 bytes long tops, otherwise use
        clock stretching.
      Both of these fixes are implemented.
      
      The PIO READ operation can only be done for up to four bytes as
      we are unable to read out the data from the DATA register fast
      enough.
      
      This patch also tries to document the investigation within the
      code.
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      29faeb38
    • Juergen Beisert's avatar
      i2c: mxs: distinguish i.MX23 and i.MX28 based I2C controller · 616228a1
      Juergen Beisert authored
      It seems the PIO mode does not work, or at least not like it works
      on a i.MX28. Each short transfer needs about one second (without an
      error message) but does not send anything on the I2C lines.
      Signed-off-by: default avatarJuergen Beisert <jbe@pengutronix.de>
      Signed-off-by: default avatarMarek Vasut <marex@denx.de>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      616228a1
  8. 03 Oct, 2013 9 commits
  9. 30 Sep, 2013 9 commits
  10. 29 Sep, 2013 3 commits
    • Linus Torvalds's avatar
      Linux 3.12-rc3 · 15c03dd4
      Linus Torvalds authored
      15c03dd4
    • Linus Torvalds's avatar
      Merge tag 'usb-3.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 30ceb4ec
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are a number of USB driver fixes for 3.12-rc3.
      
        These are all for host controller issues that have been reported, and
        there's a fix for an annoying error message that gets printed every
        time you remove a USB 3 device from the system that's been bugging me
        for a while"
      
      * tag 'usb-3.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: dwc3: add support for Merrifield
        USB: fsl/ehci: fix failure of checking PHY_CLK_VALID during reinitialization
        USB: Fix breakage in ffs_fs_mount()
        fsl/usb: Resolve PHY_CLK_VLD instability issue for ULPI phy
        usb/core/devio.c: Don't reject control message to endpoint with wrong direction bit
        usb: chipidea: USB_CHIPIDEA should depend on HAS_DMA
        usb: chipidea: udc: free pending TD at removal procedure
        usb: chipidea: imx: Add usb_phy_shutdown at probe's error path
        usb: chipidea: Fix memleak for ci->hw_bank.regmap when removal
        usb: chipidea: udc: fix the oops after rmmod gadget
        USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd
        USB: OHCI: accept very late isochronous URBs
        USB: UHCI: accept very late isochronous URBs
        USB: iMX21: accept very late isochronous URBs
        usbcore: check usb device's state before sending a Set SEL control transfer
        xhci: Fix race between ep halt and URB cancellation
        usb: Fix xHCI host issues on remote wakeup.
        xhci: Ensure a command structure points to the correct trb on the command ring
        xhci: Fix oops happening after address device timeout
      30ceb4ec
    • Linus Torvalds's avatar
      Merge tag 'tty-3.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 26c019fc
      Linus Torvalds authored
      Pull tty/serial fixes from Greg KH:
       "Here are some serial at tty driver fixes for 3.12-rc3
      
        The serial driver fixes some kref leaks, documentation is moved to the
        proper places, and the tty and n_tty fixes resolve some reported
        regressions.  There is still one outstanding tty regression fix that
        isn't in here yet, as I want to test it out some more, it will be sent
        for 3.12-rc4 if it checks out"
      
      * tag 'tty-3.12-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        tty: ar933x_uart: move devicetree binding documentation
        tty: Fix SIGTTOU not sent with tcflush()
        n_tty: Fix EOF push index when termios changes
        serial: pch_uart: remove unnecessary tty_port_tty_get
        serial: pch_uart: fix tty-kref leak in dma-rx path
        serial: pch_uart: fix tty-kref leak in rx-error path
        serial: tegra: fix tty-kref leak
      26c019fc