[PATCH v2 0/4] dvb-usb-gl861, tc90522: remove device-specific i2c algo

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Akihiro Tsukada <tskd08@xxxxxxxxx>

This patch series removes and integrates the device(Friio)-specific
i2c algo with the other, generic one that was recently patched
( https://patchwork.linuxtv.org/patch/58340/ )
to support the i2c messages used in Friio, for reading/writing to tuner.

To fully complete the integration,
users of this i2c algo (in this case, i2c adapter in demod tc90522)
must be modified to divide each tuner read transaction into two.
I had implemented this modification (and the config option to enable it)
in tc90522 (and in gl861, to use the config option), and tested it,
which verified that a Friio device can properly read tuner status,
(and write/set frequency as well) without problems.
Although there was a concern over small in-compatibility
of the generic i2c algo with the old devcie-specific algo in tuner reads,
(as described in https://patchwork.linuxtv.org/patch/58340/#111873 )
it had been cleared by the testing.

Changes since v1:
- include change to demod driver (tc90522)
In the previous version, I omitted this, but it was wrong.
This change IS required even now,
as the tuner driver of Friio device (dvb-pll) issues a read on probe.
I made mistakes in building my test environment again,
missed that some modules were not of the right version during the tests of v1.
sorry for my hasty v1 post.

Akihiro Tsukada (4):
  dvb-usb-v2/gl861: remove device-specific i2c algo
  dvb-usb-v2/gl861: remove un-used header file
  dvb-frontends/tc90522: extend i2c algo to support some devices
  dvb-usb-v2/gl861: support I2C read from tuner via demod

 drivers/media/dvb-frontends/tc90522.c |  25 ++-
 drivers/media/dvb-frontends/tc90522.h |   3 +
 drivers/media/usb/dvb-usb-v2/gl861.c  | 237 +++-----------------------
 drivers/media/usb/dvb-usb-v2/gl861.h  |  14 --
 4 files changed, 55 insertions(+), 224 deletions(-)
 delete mode 100644 drivers/media/usb/dvb-usb-v2/gl861.h

-- 
2.23.0




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux