[REVIEW PATCH 0/3] Add g_tvnorms video op

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

 



This patch series addresses a problem that was exposed by commit a5338190e.
The issue is that soc_camera implements s/g_std ioctls and just forwards
those to the subdev, whether or not the subdev actually implements them.

In addition, tvnorms is never set, so even if the subdev implements the
s/g_std the ENUMSTD ioctl will not report anything.

The solution is to add a g_tvnorms video op to v4l2_subdev (there was already
a g_tvnorms_output, so that fits nicely) and to let soc_camera call that so
the video_device tvnorms field is set correctly.

Before registering the video node it will check if tvnorms == 0 and disable
the STD ioctls if that's the case.

While this problem cropped up in soc_camera it is really a problem for any
generic bridge driver, so this is useful to have.

Note that it is untested. The plan is that Laurent tests and Guennadi pulls
it into his tree.

Regards,

	Hans

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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