1. 19 Aug, 2021 4 commits
  2. 17 Aug, 2021 3 commits
  3. 11 Aug, 2021 11 commits
  4. 10 Aug, 2021 5 commits
  5. 03 Aug, 2021 1 commit
    • Sergey Shtylyov's avatar
      i2c: highlander: add IRQ check · f16a3bb6
      Sergey Shtylyov authored
      The driver is written as if platform_get_irq() returns 0 on errors (while
      actually it returns a negative error code), blithely passing these error
      codes to request_irq() (which takes *unsigned* IRQ #) -- which fails with
      -EINVAL. Add the necessary error check to the pre-existing *if* statement
      forcing the driver into the polling mode...
      
      Fixes: 4ad48e6a ("i2c: Renesas Highlander FPGA SMBus support")
      Signed-off-by: default avatarSergey Shtylyov <s.shtylyov@omp.ru>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      f16a3bb6
  6. 28 Jul, 2021 1 commit
    • Heiner Kallweit's avatar
      i2c: i801: Fix handling SMBHSTCNT_PEC_EN · a6b8bb6a
      Heiner Kallweit authored
      Bit SMBHSTCNT_PEC_EN is used only if software calculates the CRC and
      uses register SMBPEC. This is not supported by the driver, it supports
      hw-calculation of CRC only (using bit SMBAUXSTS_CRCE). The chip spec
      states the following, therefore never set bit SMBHSTCNT_PEC_EN.
      
      Chapter SMBus CRC Generation and Checking
      If the AAC bit is set in the Auxiliary Control register, the PCH
      automatically calculates and drives CRC at the end of the transmitted
      packet for write cycles, and will check the CRC for read cycles. It will
      not transmit the contents of the PEC register for CRC. The PEC bit must
      not be set in the Host Control register. If this bit is set, unspecified
      behavior will result.
      
      This patch is based solely on the specification and compile-tested only,
      because I have no PEC-capable devices.
      Signed-off-by: default avatarHeiner Kallweit <hkallweit1@gmail.com>
      Tested-by: default avatarJean Delvare <jdelvare@suse.de>
      Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
      a6b8bb6a
  7. 25 Jul, 2021 9 commits
  8. 24 Jul, 2021 6 commits