diff options
author | Jemma Denson <jdenson@gmail.com> | 2017-08-19 13:38:26 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-20 16:20:30 +0200 |
commit | 214824156cc18038beffd7ae592d2613042109a2 (patch) | |
tree | 04192822fa3cb9275e20ace2aa02ee984b9b7f2b /drivers/media/pci | |
parent | media: stv6111: return NULL instead of plain integer (diff) | |
download | linux-214824156cc18038beffd7ae592d2613042109a2.tar.xz linux-214824156cc18038beffd7ae592d2613042109a2.zip |
media: isl6421: add checks for current overflow
This Kaffeine's BZ:
https://bugs.kde.org/show_bug.cgi?id=374693
affects SkyStar S2 PCI DVB-S/S2 rev 3.3 device. It could be due to
a Kernel bug.
While checking the Isil 6421, comparing with its manual, available at:
http://www.intersil.com/content/dam/Intersil/documents/isl6/isl6421a.pdf
It was noticed that, if the output load is highly capacitive, a different approach
is recomended when energizing the LNBf.
Also, it is possible to detect if a current overload is happening, by checking an
special flag.
Add support for it.
Tested on Skystar S2. Changes respect override_or option so should still work fine
on cx88 based cards which disable dynamic current limit.
Changes since v1:
v2 - fixed incorrect checking of i2c return values
v3 - fix if logic to check if dcl needs re-enabling
- respect override_or values which aim to disable dcl
- only do long sleep on overload if dcl enabled
- add short sleep before re-enabling dcl
- only check overload and potentially return EINVAL if device is on
v4 - revert v3 sleep logic changes to remove tuning delays
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Signed-off-by: Jemma Denson <jdenson@gmail.com>
Diffstat (limited to 'drivers/media/pci')
0 files changed, 0 insertions, 0 deletions