linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] media: use cec_notifier_cec_adap_(un)register
@ 2019-07-15 10:30 Hans Verkuil
  2019-07-15 10:30 ` [PATCH 1/6] meson/ao-cec: " Hans Verkuil
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Hans Verkuil @ 2019-07-15 10:30 UTC (permalink / raw)
  To: linux-media; +Cc: Dariusz Marcinkiewicz

This series converts all media cec adapter drivers to use
cec_notifier_cec_adap_(un)register instead of cec_notifier_get(_conn),
cec_notifier_put and cec_register_cec_notifier.

Also enable the CEC_CAP_CONNECTOR_INFO capability.

The CEC_CAP_CONNECTOR_INFO capability is not yet exposed, that
will be done later in a separate patch series that also implements
the new CEC_ADAP_G_CONNECTOR_INFO ioctl.

Once all the drm and media cec drivers stop using cec_notifier_get(_conn),
cec_notifier_put and cec_register_cec_notifier those functions can be
deleted from the CEC core.

These functions are blocking the development of more advanced CEC
features such as multiple CEC adapters per HDMI connector (one for
use when in standby, one for use when powered up).

Regards,

	Hans

Hans Verkuil (6):
  meson/ao-cec: use cec_notifier_cec_adap_(un)register
  cros-ec-cec: use cec_notifier_cec_adap_(un)register
  seco-cec: use cec_notifier_cec_adap_(un)register
  s5p-cec: use cec_notifier_cec_adap_(un)register
  stih-cec: use cec_notifier_cec_adap_(un)register
  tegra-cec: use cec_notifier_cec_adap_(un)register

 .../media/platform/cros-ec-cec/cros-ec-cec.c  | 68 +++++++++++--------
 drivers/media/platform/meson/ao-cec-g12a.c    | 48 +++++++------
 drivers/media/platform/meson/ao-cec.c         | 44 ++++++------
 drivers/media/platform/s5p-cec/s5p_cec.c      | 23 ++++---
 drivers/media/platform/seco-cec/seco-cec.c    | 55 ++++++++-------
 drivers/media/platform/sti/cec/stih-cec.c     | 32 +++++----
 drivers/media/platform/tegra-cec/tegra_cec.c  | 35 +++++-----
 7 files changed, 162 insertions(+), 143 deletions(-)

-- 
2.20.1


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-20  9:26 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15 10:30 [PATCH 0/6] media: use cec_notifier_cec_adap_(un)register Hans Verkuil
2019-07-15 10:30 ` [PATCH 1/6] meson/ao-cec: " Hans Verkuil
2019-07-15 10:30 ` [PATCH 2/6] cros-ec-cec: " Hans Verkuil
2019-07-20  9:25   ` [PATCHv2 " Hans Verkuil
2019-07-15 10:30 ` [PATCH 3/6] seco-cec: " Hans Verkuil
2019-07-15 10:30 ` [PATCH 4/6] s5p-cec: " Hans Verkuil
2019-07-15 12:37   ` Marek Szyprowski
2019-07-15 10:30 ` [PATCH 5/6] stih-cec: " Hans Verkuil
2019-07-15 10:30 ` [PATCH 6/6] tegra-cec: " Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).