1. 12 1月, 2014 1 次提交
    • M
      [media] em28xx-i2c: Fix error code for I2C error transfers · e63b009d
      Mauro Carvalho Chehab 提交于
      Follow the error codes for I2C as described at Documentation/i2c/fault-codes.
      
      In the case of the I2C status register (0x05), this is mapped into:
      
      	- ENXIO - when reg 05 returns 0x10
      	- ETIMEDOUT - when the device is not temporarily not responding
      		      (e. g. reg 05 returning something not 0x10 or 0x00)
      	- EIO - for generic I/O errors that don't fit into the above.
      
      In the specific case of 0-byte reads, used only during I2C device
      probing, it keeps returning -ENODEV.
      
      TODO: return EBUSY when reg 05 returns 0x20 on em2874 and upper.
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      e63b009d
  2. 10 1月, 2014 2 次提交
  3. 07 1月, 2014 1 次提交
    • F
      [media] em28xx: fix I2S audio sample rate definitions and info output · 687ff8b0
      Frank Schaefer 提交于
      The audio configuration in chip config register 0x00 and eeprom are always
      consistent. But currently the audio configuration #defines for the chip config
      register say 0x20 means 3 sample rates and 0x30 5 sample rates, while the eeprom
      info output says 0x20 means 1 sample rate and 0x30 3 sample rates.
      
      I've checked the datasheet excerpts I have and it seems that the meaning of
      these bits is different for em2820/40 (1 and 3 sample rates) and em2860+
      (3 and 5 smaple rates).
      I have also checked my Hauppauge WinTV USB 2 (em2840) and the chip/eeprom
      audio config 0x20 matches the sample rates reproted by the USB device
      descriptor (32k only).
      Signed-off-by: NFrank Schäfer <fschaefer.oss@googlemail.com>
      Signed-off-by: NMauro Carvalho Chehab <m.chehab@samsung.com>
      687ff8b0
  4. 03 9月, 2013 1 次提交
  5. 26 7月, 2013 1 次提交
  6. 29 3月, 2013 1 次提交
  7. 25 3月, 2013 2 次提交
  8. 23 3月, 2013 1 次提交
  9. 19 3月, 2013 3 次提交
  10. 05 3月, 2013 9 次提交
  11. 06 2月, 2013 1 次提交
  12. 05 1月, 2013 5 次提交
  13. 23 12月, 2012 1 次提交
  14. 16 8月, 2012 1 次提交
  15. 21 6月, 2012 1 次提交
  16. 11 4月, 2012 1 次提交
  17. 20 3月, 2012 1 次提交
  18. 28 7月, 2011 3 次提交
  19. 20 5月, 2011 1 次提交
  20. 12 9月, 2009 1 次提交
  21. 06 7月, 2009 1 次提交
  22. 17 6月, 2009 1 次提交