1. 27 May, 2021 1 commit
  2. 10 Aug, 2020 2 commits
  3. 04 Jul, 2020 1 commit
  4. 05 Jun, 2019 1 commit
  5. 01 Feb, 2019 1 commit
  6. 29 May, 2018 1 commit
    • Peter Rosin's avatar
      i2c: busses: make use of i2c_8bit_addr_from_msg · 30a64757
      Peter Rosin authored
      Because it looks neater.
      For diolan, this allows factoring out some code that is now common
      between if and else.
      For eg20t, pch_i2c_writebytes is always called with a write in
      msgs->flags, and pch_i2c_readbytes with a read.
      For imx, i2c_imx_dma_write and i2c_imx_write are always called with a
      write in msgs->flags, and i2c_imx_read with a read.
      For qup, qup_i2c_write_tx_fifo_v1 is always called with a write in
      For stu300, also restructure debug output for resends, since that
      code as a result is only handling debug output.
      Reviewed-by: Guenter Roeck <linux@roeck-us.net> [diolan]
      Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> [efm32 and imx]
      Acked-by: Linus Walleij <linus.walleij@linaro.org> [stu300]
      Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
  7. 09 Feb, 2017 1 commit
  8. 21 Sep, 2016 1 commit
    • Yadi.hu's avatar
      i2c-eg20t: fix race between i2c init and interrupt enable · 371a0153
      Yadi.hu authored
      the eg20t driver call request_irq() function before the pch_base_address,
      base address of i2c controller's register, is assigned an effective value.
      there is one possible scenario that an interrupt which isn't inside eg20t
      arrives immediately after request_irq() is executed when i2c controller
      shares an interrupt number with others. since the interrupt handler
      pch_i2c_handler() has already active as shared action, it will be called
      and read its own register to determine if this interrupt is from itself.
      At that moment, since base address of i2c registers is not remapped
      in kernel space yet,so the INT handler will access an illegal address
      and then a error occurs.
      Signed-off-by: default avatarYadi.hu <yadi.hu@windriver.com>
      Signed-off-by: default avatarWolfram Sang <wsa@the-dreams.de>
      Cc: stable@kernel.org
  9. 03 Dec, 2015 1 commit
  10. 07 Nov, 2014 1 commit
  11. 02 Jun, 2014 1 commit
  12. 13 Mar, 2014 1 commit
  13. 24 Jan, 2014 1 commit
  14. 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
      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
      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>
  15. 21 Feb, 2013 1 commit
  16. 22 Dec, 2012 1 commit
  17. 24 Jul, 2012 1 commit
  18. 12 May, 2012 7 commits
  19. 22 Apr, 2012 2 commits
  20. 07 Mar, 2012 2 commits
  21. 17 Jan, 2012 4 commits
  22. 12 Jan, 2012 1 commit
  23. 18 Dec, 2011 1 commit
  24. 29 Oct, 2011 5 commits