video_mode_to_dss_mode

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

 



Hello,

mode may be used uninitialized; the case 0 looks wrong (in 
drivers/media/platform/omap/omap_vout.c)

this issue was raised in May 2012 already 
(http://comments.gmane.org/gmane.linux.drivers.video-input-infrastructure/48617)

will Vaibhav submit a patch?

static int video_mode_to_dss_mode(struct omap_vout_device *vout)
{
...
	enum omap_color_mode mode;
...
	switch (pix->pixelformat) {
	case 0:
		break;
	case V4L2_PIX_FMT_YUYV:
...
	default:
		mode = -EINVAL;
	}
	return mode;

thanks, regards, p.

-- 

Peter Meerwald
+43-664-2444418 (mobile)
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux