All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] get rid of i2c_adapter.id on ir-kbd-i2c
@ 2010-09-23  4:32 Mauro Carvalho Chehab
  0 siblings, 0 replies; only message in thread
From: Mauro Carvalho Chehab @ 2010-09-23  4:32 UTC (permalink / raw)
  Cc: Linux Media Mailing List

ir-kdb-i2c needs to check what device called it, just because of two
places where this information is used:

1) to fill the structs for Hauppauge XDR remotes on cx88 driver;
2) to set the polling interval for one saa7134 board.

On both cases, the better is to just move the initialization to the
caller driver.

While on it, move PV951 to bttv driver, as only bttv driver defines
a board with this name, and put the RC init code inside bttv-input,
for bttv driver, and on cx88-input, for cx88 driver, in order to
have all RC code together.

This will help when porting the drivers to RC core, as we won't forget
the ir-kbd-i2c case.

Mauro Carvalho Chehab (3):
  V4L/DVB: bttv: Move PV951 IR to the right driver
  V4L/DVB: Remove the usage of I2C_HW_B_CX2388x on ir-kbd-i2c.c
  V4L/DVB: saa7134: get rid of I2C_HW_SAA7134

 drivers/media/video/bt8xx/bttv-i2c.c        |   38 ------------
 drivers/media/video/bt8xx/bttv-input.c      |   84 ++++++++++++++++++++++++--
 drivers/media/video/bt8xx/bttv.h            |    1 -
 drivers/media/video/bt8xx/bttvp.h           |   13 +++-
 drivers/media/video/cx88/cx88-i2c.c         |   38 ------------
 drivers/media/video/cx88/cx88-input.c       |   51 +++++++++++++++--
 drivers/media/video/cx88/cx88.h             |   15 ++---
 drivers/media/video/ir-kbd-i2c.c            |   60 ++-----------------
 drivers/media/video/saa7134/saa7134-i2c.c   |    1 -
 drivers/media/video/saa7134/saa7134-input.c |    5 ++
 include/media/ir-kbd-i2c.h                  |   10 ++-
 11 files changed, 155 insertions(+), 161 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-09-23  4:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23  4:32 [PATCH 0/3] get rid of i2c_adapter.id on ir-kbd-i2c Mauro Carvalho Chehab

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.