linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil-cisco@xs4all.nl>
To: linux-media@vger.kernel.org
Cc: Dariusz Marcinkiewicz <darekm@google.com>
Subject: [PATCH 0/6] media: use cec_notifier_cec_adap_(un)register
Date: Mon, 15 Jul 2019 12:30:48 +0200	[thread overview]
Message-ID: <20190715103054.84849-1-hverkuil-cisco@xs4all.nl> (raw)

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


             reply	other threads:[~2019-07-15 10:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 10:30 Hans Verkuil [this message]
2019-07-15 10:30 ` [PATCH 1/6] meson/ao-cec: use cec_notifier_cec_adap_(un)register 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190715103054.84849-1-hverkuil-cisco@xs4all.nl \
    --to=hverkuil-cisco@xs4all.nl \
    --cc=darekm@google.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).