Linux Media Controller development
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: Matthew Laux <matthew.laux@gmail.com>, linux-media@vger.kernel.org
Cc: LKML <linux-kernel@vger.kernel.org>,
	Hans Verkuil <hverkuil@kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Mehdi Djait <mehdi.djait@bootlin.com>
Subject: Re: [PATCH v8 12/12] media: add driver for StarTech USB3HDCAP
Date: Thu, 26 Nov 2026 09:09:52 +0100	[thread overview]
Message-ID: <825b308c-0a5e-4577-9f45-9bfe571ef36a@web.de> (raw)
In-Reply-To: <20261125194951.19072-13-matthew.laux@gmail.com>

…
> +++ b/drivers/media/usb/usb3hdcap/usb3hdcap-composite.c
> @@ -0,0 +1,212 @@
…
> +int usb3hdcap_composite_init(struct usb3hdcap *hdcap)
> +{
…
> +	/* disable MST3367 */
> +	v4l2_subdev_call(hdcap->sd_mst3367, video, s_routing,
> +			 MST3367_INPUT_NONE, 0, 0);

How do you think about to achieve consistent error detection?
https://elixir.bootlin.com/linux/v7.4-rc1/source/include/media/v4l2-subdev.h#L1942-L1971

…
> +	ret = v4l2_subdev_call(hdcap->sd_tw9900, video, s_routing,
> +			       hdcap->input == INPUT_SVIDEO ?
> +			       TW9900_INPUT_SVIDEO : TW9900_INPUT_COMPOSITE,
> +			       0, 0);
> +	if (ret < 0)
> +		return ret;
…

Regards,
Markus

  parent reply	other threads:[~2026-11-26  8:09 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 19:49 [PATCH v8 00/12] Add driver for StarTech USB3HDCAP capture device Matthew Laux
2026-11-25 19:49 ` [PATCH v8 01/12] media: tw9900: Disable regulator on runtime resume failure Matthew Laux
2026-11-25 19:49 ` [PATCH v8 02/12] media: tw9900: release the device when stopping the stream fails Matthew Laux
2026-11-25 19:49 ` [PATCH v8 03/12] media: tw9900: accept the TW9910 chip ID Matthew Laux
2026-11-25 19:49 ` [PATCH v8 04/12] media: tw9900: add saturation, hue and sharpness controls Matthew Laux
2026-11-25 19:49 ` [PATCH v8 05/12] media: tw9900: program all mode registers in the PAL table Matthew Laux
2026-11-25 19:49 ` [PATCH v8 06/12] media: tw9900: power off the device on remove if still active Matthew Laux
2026-11-25 19:49 ` [PATCH v8 07/12] media: tw9900: power down analog blocks in runtime suspend Matthew Laux
2026-11-25 19:49 ` [PATCH v8 08/12] media: tw9900: use runtime PM autosuspend Matthew Laux
2026-11-25 19:49 ` [PATCH v8 09/12] media: tw9900: allow board-specific register tables via platform data Matthew Laux
2026-11-25 19:49 ` [PATCH v8 10/12] media: tw9900: add S-Video input and progressive source detection Matthew Laux
2026-11-25 19:49 ` [PATCH v8 11/12] media: Add subdevice driver for the Mstar MST3367 HDMI receiver Matthew Laux
2026-11-25 19:49 ` [PATCH v8 12/12] media: add driver for StarTech USB3HDCAP Matthew Laux
2026-11-26  7:16   ` Markus Elfring
2026-11-26  8:09   ` Markus Elfring [this message]
2026-11-25 20:33 ` [PATCH v8 00/12] Add driver for StarTech USB3HDCAP capture device Markus Elfring

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=825b308c-0a5e-4577-9f45-9bfe571ef36a@web.de \
    --to=markus.elfring@web.de \
    --cc=hverkuil@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=matthew.laux@gmail.com \
    --cc=mchehab@kernel.org \
    --cc=mehdi.djait@bootlin.com \
    /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